` Printed Icetips Article

Icetips Article



Par2: Update status text from procedure
2006-11-08 -- Lee White
 
> Is it posible to update the status bar text of the main window from another 
> procedure? I have a source procedure that I intend on running from a timer 
> on the main window. I do not want it to have a window of its own, but I do 
> want to know whn it is running.
> 
> How do I do something llike this from a seperate procedure...
> AppFrame{Prop:StatusText,3} = 'Hello!' 

Add a non-threaded global reference variable...
  FrameRef &WINDOW

After opening the AppFrame...
  FrameRef &= AppFrame

Then wherever you want to reference the frame use FrameRef...
  FrameRef{Prop:StatusText,3} = 'Hello!'



Printed November 21, 2024, 12:06 pm
This article has been viewed/printed 35226 times.