` Updating variable in app frame (Lee White ) - 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: Updating variable in app frame
2009-06-23 -- Lee White
 
> I've got a global variable that I use as part of the app frame title > (AppFrame{PROP:Text}) or alternatively as part of the status bar text > (AppFrame{PROP:Status,x}). I update the global in a mdi window, but there > is never any update,...acknowledgement in the frame, even though the status > bar is 'happily' updating the time every second. The easiest way to handle this would be to create a global reference to the frame, such as... gFrameRef &WINDOW Just after OPEN(AppFrame) add... gFrameRef &= AppFrame Then whenever and wherever you need to make changes to the frame you use properties, such as... gFrameRef{PROP:Text} = 'Yada Yada' gFraneRef{PROP:Status,x} = 'Yada Yada' No events necessary.


Today is November 21, 2024, 3:52 am
This article has been viewed 35328 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: