How to type a value with single-click in an edit text using ButtonDownFcn function?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!