Any message sent to popup menu (btn) when nothing is selected?

J. Landman Gay jacque at hyperactivesw.com
Tue Apr 12 15:47:17 EDT 2016


On 4/12/2016 1:48 PM, Mike Bonner wrote:
> You can use the "mouserelease" message for this.
>
> This script in the popup works in both 7 and 8.Didn't check earlier
> versions.
>
> on menuPick pItemName
>     put pItemName -- displays what was chosen
> end menuPick
>
> on mouserelease
>     put "Nothing chosen" -- if nothing was chosen
> end mouserelease

That's better than my approach.

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




More information about the use-livecode mailing list