Contextual (popup) menus and their options

2008-08-25 Thread Mark Stuart
Bonjour Eric, If only I would look in the Documentation for this command, I would not waste your time. Thank you for explaining, your time, and your grace. :-) Regards, Mark Stuart ___ use-revolution mailing list use-revolution@lists.runrev.com Pl

Re: Contextual (popup) menus and their options

2008-08-25 Thread Eric Chatonet
Bonjour Mark, Sorry if I was not clear enough. As I said, the selectedChunk, that returns a chunk expression describing the location of the text selection or insertion point, is always something like char 4 to 3 of field 1 (insertion point is placed after char 3 but there is no text selecti

Contextual (popup) menus and their options

2008-08-24 Thread Mark Stuart
Bonjour Eric, Put your script into my field, and it's working, thank you. But I'm not sure what this part of your script does, what it is checking for? if word 4 of the selectedChunk < word 2 of the selectedChunk then Why word 4 and why word 2? And why word 4 is less than word 2?

Re: Contextual (popup) menus and their options

2008-08-24 Thread Eric Chatonet
Bonjour Mark, An Edit menu, if you want to stay compliant with all platforms guidelines, should always show the 'Cut, Copy, Paste' trilogy as a minimum. Of course, you can disable the menu items you don't want the user to use but they *must* be there with their usual shortcuts :-) So in you

Contextual (popup) menus and their options

2008-08-24 Thread Mark Stuart
Hi All, 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