Simulate a popup menu button

dunbarx at aol.com dunbarx at aol.com
Wed Jul 18 22:53:27 EDT 2012


OH.


I get it.


I made one of these a couple of years ago, a script controlled click on an existing popup.


I will look tomorrow and see if I can find it.


Craig



-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Jul 18, 2012 1:03 pm
Subject: Re: Simulate a popup menu button


On 7/18/12 12:03 PM, Lars Brehmer wrote:
> Thanks once again Craig!
>
> But again no.
>
> The popup button is already in place. It has 7 menu items, and 6 of
> those have a submenu with several choices. I simply want to (in a
> script) simulate clicking on it (done) then hiliting one of the items
> and then show that items submenu and hiliting one of those items and
> then execute picking that item (also done.) I just cant figure how to
> show the menu choices and hiliting them.

I'm not sure you can, since the menus respond only to physical clicks. 
But you could test:  click at the loc of button myFakeCursorButton

I don't know if it will work.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 

 



More information about the use-livecode mailing list