It also works with any style of menu-style button, combobox, pulldown, etc.

Craig

> On Jan 27, 2025, at 12:39 PM, Craig Newman via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Bob.
> 
> It works just fine in a mouseUp handler as well. I just did it. 
> 
> Craig
> 
>> On Jan 27, 2025, at 12:31 PM, Bob Sneidar via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> Understood. That is why I wrote, I assure everyone there *IS* a button 
>> called “mnuLocations”. As I posted later, this command can only be used in a 
>> mouseDown handler. I think I knew this many, many years ago, but I forgot. 
>> 
>> Bob S
>> 
>> 
>>> On Jan 27, 2025, at 9:28 AM, Craig Newman via use-livecode 
>>> <use-livecode@lists.runrev.com> wrote:
>>> 
>>> Bob .
>>> 
>>> “popup” is not a command that creates a button. It only works with an 
>>> existing button, opening its contents at a location of your choice. That 
>>> button can be hidden, but its menu will appear anyway.
>>> 
>>> Craig
>>> 
>>>> On Jan 27, 2025, at 12:17 PM, Bob Sneidar via use-livecode 
>>>> <use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Hi all. 
>>>> 
>>>> I have the command: 
>>>> popup pMenuButton at pLocation
>>>> 
>>>> pMenuButton contains:
>>>> button “mnuLocations"
>>>> 
>>>> pLocation contains: 
>>>> 55,303
>>>> 
>>>> I am getting the error: 
>>>> stack "moduleCardBehavior": execution error at line 360 (subwindow: can't 
>>>> find stack or button), char 1
>>>> 
>>>> I assure everyone there *IS* a button called “mnuLocations”. What in the 
>>>> name of all <fill in the blank> is going on here??
>>>> 
>>>> Bob S
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

Reply via email to