Programming Guide : 3. Programming Frames : How You Can Invoke Frames : How You Can Change a Frame's Definition
 
Share this page                  
How You Can Change a Frame's Definition
When you open a frame, you can reset most attributes of the original frame definition. The openframe, callframe, and gotoframe statements accept an optional with clause that lets you set any of the attributes of the FrameExec object associated with the frame (with the exception that only the openframe statement can specify a value for the ParentFrame attribute). The syntax is:
openframe|callframe|gotoframe framename ([parameterlist])[with optionlist]
optionlist
Specifies the following:
option=value {, option=value}
option
Specifies any FrameExec attribute that you are allowed to set, such as WindowPlacement, ParentFrame, and DBSession.
For a complete list of these FrameExec attributes, see the Language Reference Guide online help.
value
Specifies any appropriate value for the particular attribute. Any attributes that you do not set continue to have the same value that you specified in the original frame definition.