Get only selected text from a textbox in a gui

5 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2011-9-24
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

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by