Detecting popup menu cancelation

J. Landman Gay jacque at hyperactivesw.com
Sun Feb 28 12:21:20 EST 2010


Jeffrey Massung wrote:
> I have a popup button that, when clicked, I change the background
> color of a field so as to really highlight for the user exactly what
> their action is going to be taken on.
> 
> However, currently, I have no way of detecting if the user chooses to
> do nothing (cancel the popup) and subsequently return the field's
> background color to its default.
> 
> Is there some message I can key off of or some other way for me to
> accomplish this behavior?

Do you mean by "cancel" that the user slides off the menu without 
selecting an option? If so, try "mouseRelease".

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



More information about the use-livecode mailing list