Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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 then
  WinClose=SEND_EVENT("EMPLOY_1","CLOSE")
END

retValue=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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/f23369c1f74c5b8485256627005c1c94.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1