uicontrol selected properties in R2015
1 次查看(过去 30 天)
显示 更早的评论
Hi everybody,
I want that an edit box will be selected automatically once it is created. In the releases early than R2014 it is supposed to be possible. I'm using R2015, so I can't use this property. Is there any possibility to automatically select an uicontrol?
Regards, Christian
0 个评论
回答(1 个)
Geoff Hayes
2017-2-3
Christian - do you mean that you want to set focus to a specific edit text control? Please see uicontrol and in particular
uicontrol(c)
where c is the handle to a control.
2 个评论
Geoff Hayes
2017-2-6
Christian - are you saying that you cannot use uincontrol(c) to set focus to a particular control (as per the documentation)? I have been able to do (using R2014a). What happens when you try the above? Or are you trying to do something different than setting focus?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!