14. Creating a Frame at Runtime : How You Can Build a Frame Dynamically : How You Can Create the Frame and Set Attributes : How You Can Create the Form
 
Share this page                  
How You Can Create the Form
The form that a frame displays is an object of the FrameForm class. A FrameForm object is a special case of a subform that encloses the full set of FormField objects in a frame.
After you have created the frame source, create the frame's form and assign it to the TopForm attribute of the frame source. For example:
test_frame.TopForm = FrameForm.Create();
At this point, your form is a blank form, without fields. The next step is to create the fields.