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

Mike Bonner bonnmike at gmail.com
Tue Apr 12 15:51:08 EDT 2016


I thought it was the same as your approach.. We both recommended using
mouserelease, though reading the dictionary, I wonder if there will be
issues with this method at some point. It seems to be an unintentional
feature. (Which is better than a random feature, for obvious reasons)

On Tue, Apr 12, 2016 at 1:47 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> 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
>
> _______________________________________________
> 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