#### The Frame/The View Properties

The main editing area in the Label Template Editor and the Form Editor contains a special object called The Frame/The View. This object also contains properties that can be accessed and set just as with any other object.

Property | Used in Label Template Editor or Form Editor | Description
Height | Both | Defines the height, in pixels, of the main editing area.
Width | Both | Defines the width, in pixels, of the main editing area.
LocalDecls | Both | Declares variables with a scope available to your entire form or label.
Page Orientation | Label Template Editor | Sets the label to one of the pre-defined standard orientations, either Portrait or Landscape.
Page Size | Label Template Editor | Sets the label to one of the page sizes available on your default printer. You may see items such as Letter, A4, or one of several other sizes depending on your type of printer.
Supported Command Types | Label Template Editor | Displays the Supported Command Types dialog box. With this dialog box you can define what commands should use this label template. Then in the Report window, when you right-click on a label and select the Change Report... menu item, PC-DMIS will only display those labels that support the selected command type.
Horizontal Positioning | Form Editor | Sets the horizontal position of the form within the window when executed.
LocalVariables | Form Editor | See the “Declare Global Using the LocalVariables Property” topic.
MaximizeBox | Form Editor | If set to Yes, this displays a Maximize icon in the upper right corner of the form. Clicking this icon run mode or during execution allows you to maximize your form window to fill the available space. If MaximizeBox is set to Yes but MinimizeBox is set to No, then the Minimize icon will still appear but will be unavailable for selection.
MinimizeBox | Form Editor | If set to Yes, this displays a Minimize icon in the upper right corner of the form. Clicking this icon during run mode or during execution allows you to minimize your form window to the taskbar. If MinimizeBox is set to Yes but MaximizeBox is set to No, then the Maximize icon will still appear but will be unavailable for selection.
Vertical Positioning | Form Editor | Sets the vertical position of the form within the window when executed.
ToolTipText | Both | Common Properties