How to type a value with single-click in an edit text using ButtonDownFcn function?

4 ビュー (過去 30 日間)
Daniele Morello
Daniele Morello 2015 年 9 月 22 日
コメント済み: Daniele Morello 2015 年 9 月 22 日
ButtonDownFcn for a uicontrol will execute on left-click if the uicontrol is not enabled (off or inactive.), so, to use ButtonDwnFcn function my edit text is inactive initially. then when i want to use it to insert a value, i have to click two times. the first time to enable the edit text and the second time to allow to type a value. can i resolve in one single step using only one click?
  2 件のコメント
Walter Roberson
Walter Roberson 2015 年 9 月 22 日
Why not just leave it enabled?
Daniele Morello
Daniele Morello 2015 年 9 月 22 日
because i have to use 2 edit text but only one at time, so one excludes the other.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAdding custom doc についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by