` Calling controls in other procedures (Garry Anderson ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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 April 17, 2024, 10:23 pm
This article has been viewed 35108 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: