Language Reference Guide : 4. System Classes : FrameForm Class
 
Share this page                  
FrameForm Class
The FrameForm class is a special case of the SubForm Class. It encloses the full set of form fields in the frame. This is its only purpose. A FrameForm object cannot have a name or data type.
Each frame must have a single FrameForm object associated with it. To access the FrameForm object associated with the current frame, use the following syntax:
CurFrame.TopForm
To find the set of fields in a frame, use the FieldsByProperty Method (inherited from the CompositeField object):
myFrameFields = curframe.TopForm.FieldsByProperty();
Note:  This does not include any fields in the frame's toolbars. To get these, you should use the FieldsByProperty() method (see FieldsByProperty Method) on each of the toolbars in turn. For more information about toolbars, see the Workbench User Guide.
You can set a FrameForm to be transparent through its TransparentColor Attribute.
Do not use the FrameForm class to access the attributes of the frame. Instead, use the FrameExec object (see FrameExec Class). For example, to set the location and size of a frame's window, use the attributes defined for the FrameExec object.
In general, you only reference a FrameForm directly when you are creating frames dynamically. In such instances, you create the FrameForm and attach it to the frame.
For a discussion of how to use the FrameForm, see the Programming Guide.
Inherits From
Object Class
FieldObject Class
FormField Class
ActiveField Class
CompositeField Class
SubForm Class
Inherited By
None
Attributes
TransparentColor
Methods
FieldByFullName