windowname=Start_Window (windowID, parentID, createparam, getstructureflag, instance)
getstructureflag: Pass true, to return the structure of a window, without actually executing it.
I can't get this seemingly simple statement to work.
I have the following in a stored procedure, but when I run it, the window is executed and displayed, and my variable x has nothing in it.
x=Start_Window( "MYWINDOW", "", "", 1 )
Can someone tell me how to get this working as documented please.
Thanks.
This works for us
x=Start_Window ('ZZ_IDE_TCL',@Window,
, 1,
)The Sprezzatura Group
World Leaders in all things RevSoft
So what I found was -
1. if I run the stored procedure from the Exec line in the System Editor (which is what I was doing, trying to just prove the code), the window is executed and displayed!
2. if I call the stored procedure from event code it works as expected.
Any ideas why? (sorry to be a pain, just trying to understand)
guessing that the Exec line is NOT event context and so there is no @Window…
The Sprezzatura Group
World Leaders in all things RevSoft