9. Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The edit_control Field Template : How an Edit Control Field Works
 
Share this page                  
How an Edit Control Field Works
When the frame containing the edit control field is executed, the field appears with a multiline entry field and a scroll bar:
Text may be entered into the scrollable edit control. However, the menus, toolbar, and other controls to trigger the functions usually found on the File and Edit menus in a typical frame must be provided by the frame.
All edit control functionality is provided by the companion Edit_Object user class. An edit object is automatically created and initialized by the field at runtime. Initialization is handled by a call to the edit object's Setup method, passing to it the required EditFrame and EditField attributes. For more information about the Edit_Object class, see the appendix "Generated User Classes" in the Language Reference Guide.