Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link 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
Today is November 23, 2024, 2:20 am This article has been viewed 35198 times.
|
|