Window question #2

RayMcManus

New Member
Hi,

I have a few programs that call a second window by clicking a button, and was wondering if there's a piece of code that I can add to the second window that will tell it to close if I exit the first program.
 

Chris Kelleher

Administrator
Staff member
Ray-

Yes this is possible, you would just send a message from the first window when the close event is fired to the second window that would tell it to close. This is easy to do with version 9 using the PUBLISH and SUBSCRIBE commands to set up the communications between the two windows.

-Chris
 
Top