4. System Classes : FrameExec Class : IsMaximized Attribute : How to Execute an Openframe Using a With Clause to Set the IsMaximized Attribute
 
Share this page                  
How to Execute an Openframe Using a With Clause to Set the IsMaximized Attribute
You code a frame named "main." It contains a button field labeled "Call Myself Maximized" named "cf" that, when clicked, runs the following code:
initialize=
{
}
on click cf =
{
openframe main with IsMaximized = TRUE;
}
When the frame is run and the user clicks the "cf" button, a new copy of the same frame appears maximized.