J. Landman Gay wrote:

It works the other way around. The selected menu item text is passed to the menupick handler. Then you can do whatever you want with it. Here's a sample button script for a popup button named "myMenuBtn":

on mousedown
 popup "myMenuBtn"
end mousedown

on menupick pWhich
 put pWhich into theSelectedText
 -- now you have the user's choice; send it to the field, or whatever
end menupick

Well, this is completely wrong, sorry, it was a major think-o. Obviously your popup button is invisible. And the above isn't right for a visible button anyway.

You are correct to put the mousedown handler into the field, which then issues the "popup" command. The above menupick handler does go into the button that is popped up.

Check the menuMousebutton property though, that may be the problem.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to