GUIDE edit text
2 views (last 30 days)
Show older comments
I am using an edit text control in guide with a preset string defined. When I run the figure, clicking inside the edit box does not clear the preset string - I must manually backspace over it. Is there a property associated with an edit text control that would automatically erase any text in the control or do I have to use a callback? If the latter, which callback function do I use? Thanks.
0 Comments
Accepted Answer
Jan
on 27 Sep 2011
You need to access the underlying Java callbacks. But they are undocumented and can be change in a future Matlab release: See Undocumented: uicontrol-callbacks
I assume, it is the FocusGainedCallback.
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!