This cannot be as hard as I'm making it ..... so I'll follow the excellent advice from the list of not struggling over a simple issue for more than an hour and ask for help. Though I am about 4 hours late .... :-(

Easy bit:
I want to have a button, that acts like a pop-up button - i.e. when I click on it, up pops a list of choices and I can select one - or I can click outside the list of options and get a "cancel" indication back. When a choice is made, I do the appropriate action. This is what I get with a "pop-up menu" selected from the IDE's tool palette.

Hard part:
Sometimes, there is only one valid choice; in that case, I'd like to go ahead with the appropriate action immediately - don't present a menu, just do the action.

I can put in a handler for the mouseDown to the pop-up button - but can't find a way to avoid it popping up.

I tried putting in another button, and having its mouseDown take the action - either just doing it, or sending mouseDown to the pop-up button - but apparently; sending a mouseDown isn't enough to trigger the pop-up.

(I tried a large number of other things, but I'm not going to embarrass myself by listing them all ....)

Am I just missing some easy way ?

--
Alex Tweedly       http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005

_______________________________________________
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