Popup Button bug??

Bob Sneidar bobsneidar at iotecdigital.com
Mon Jan 27 12:31:59 EST 2025


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