Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Weird Popup issue
Hola all,
A new client is Not using promoted events or even commuter modules. I have expressed my thoughts, but the customer is always right..
I have a popup that runs fine from the UI workspace. I am stuffing the key list (it's a K type), and it runs fine from a standalone program. But calling the code from a pushbutton on a form causes the popup not to display, thus returning nada.
The code in question is something like this:
prec = ''; prec<8> = mvkeys
ans = popup(@window,prec,'POPUPNAME')
and then I do something with the contents of ans. Pretty basic stuff, and I've done this Many times, but it's not displaying in this case.
Any ideas what might cause it not to fire? Hopefully something stupid.
Gratzi!
A new client is Not using promoted events or even commuter modules. I have expressed my thoughts, but the customer is always right..
I have a popup that runs fine from the UI workspace. I am stuffing the key list (it's a K type), and it runs fine from a standalone program. But calling the code from a pushbutton on a form causes the popup not to display, thus returning nada.
The code in question is something like this:
prec = ''; prec<8> = mvkeys
ans = popup(@window,prec,'POPUPNAME')
and then I do something with the contents of ans. Pretty basic stuff, and I've done this Many times, but it's not displaying in this case.
Any ideas what might cause it not to fire? Hopefully something stupid.
Gratzi!
Comments
I wasn't sure if it could be something in the event chain of the button that was the issue. But I created another test window with a button and called the popup from the Click event and it displays fine. It seems to work everywhere but This One Button.
What else should I check? The only time it Doesn't work is when called from one button on one form.
I wonder what's being un/set by the msg.
I called a msg with a type of 'N' (no display) before calling Popup. It works like a charm now.
Like I said, weird..