How to start/close Forms from Basic+ (OpenInsight Specific)
At 18 JUN 1998 12:46:06PM Steve C. wrote:
I use the following code to close and open a window.
IF SSN '' THEN
WinOpen=Get_Property("EMPLOY_1","HANDLE")IF WinOpen thenWinClose=SEND_EVENT("EMPLOY_1","CLOSE")ENDretValue=REPOSITORY( 'EXECUTE', 'TEST_APP*OIWIN**EMPLOY_1',SSN )
END
.
What is the difference in using the above SEND_EVENT to close and the End_Window function.
.
What is the difference in using the above REPOSITORY to open and the Start_Window function.
.
When is it better to use one function or the other?
Thanks..
Steve C]
At 18 JUN 1998 01:31PM Blaise(Revelation) wrote:
Steve,
When you use Start_Window or End_Window you can pass parameters along with the window you want to open or close. This functionality alone makes them more powerful, where as with Send_Event(@WINDOW , "CLOSE") or using Repository, you simply start or close the window.
Hope this helps…
Blaise