Contextual (popup) menus and their options
mfstuart at cox.net
Sun Aug 24 15:56:39 CDT 2008
I have a contextual menu (popup) on a text field with several options. One
of them is Select All.
This allows the user to select all the text in this field.
If the user actuates the contextual menu again, the Select All option should
still be there, but also a new option is selectable - Copy - copies all
selected text to the clipboard.
So the question is, how do I detect if text is selected in a text field, and
then dynamically "change out" the menu option by adding "Copy" to it?
More information about the use-livecode