` Printed Icetips Article

Icetips Article



Par2: Manipulating frame text using reference variable
1998-12-15 -- Arie Rens
 
> But how do I do this ?
> I am rather AppGenerator orientated.

Using the Global/Data buttons, define a new variable called Frame, type  Window, 
check Reference.

Open the procedure for the main menu as source (the 'Embeditor'), and search  for the 
text 'OPEN('.  You will probably find just one: OPEN(AppFrame)  (AppFrame being the 
label for the main application window).

In the next embed point write:
  Frame &= AppFrame     ! Assign reference to main window to global variable
  
Whereever you want to change the title text of the main window, write in a 
suitable embed point:

  Frame{PROP:Text} = 'New Application Title'



Printed November 21, 2024, 7:15 am
This article has been viewed/printed 35204 times.