`
Par2: Calling controls in other procedures 1997-08-31 -- Garry Anderson >Is there a way to call a control on another window? I am trying to >enable a button on a window when another closes. I guess what I am >asking is how does the naming convention work across windows. You could create a Global reference variable to access the window eg. UpdateWindow &WINDOW (Reference variables can cross threads) Then on the opening of the window you want to point to assign to variable to it UpdateWindow &= FormWindow if FormWindow was the name of the window then you can access the controls on that window from anywhere by prefixing them with the reference variable and a dollar sign eg. UpdateWindow$?Closebutton{PROP:Enabled} = TRUE Printed November 21, 2024, 7:35 am This article has been viewed/printed 35194 times. |