Get only selected text from a textbox in a gui
Show older comments
What I am trying to do to allow the user of a gui to select a word in a textbox phrase and replace only the selected word with a word from a listbox by double clicking the word in the listbox.
Answers (1)
Walter Roberson
on 24 Sep 2011
0 votes
You need to work at the Java level to do that.
If I recall correctly, Yair has documented the (unsupported) methods that you would need to use, in his comprehensive http://undocumentedmatlab.com
Categories
Find more on Adding custom doc 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!