TheFrame/TheView Properties

The main editing areas in the Label Template Editor and Form Editor contain a special object called TheFrame/TheView. This object also contains properties that you can access and set just as with any other object.

Height
Defines the height, in pixels, of the main editing area.

Horizontal Positioning **
Sets the horizontal position of the form within the window when executed.

LocalDecls
Declares variables with a scope that is available to your entire form or label.

LocalVariables **
See the "Declare Global Variables Using the LocalVariables Property" topic.

MaximizeBox **
If set to Yes, this property displays a Maximize icon in the upper-right corner of the form. You can click this icon in Run mode or during execution 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 still appears but is unavailable for selection.

MinimizeBox **
If set to Yes, this property displays a Minimize icon in the upper-right corner of the form. You can click this icon during run mode or during execution to minimize your form window to the taskbar.

If MinimizeBox is set to Yes but MaximizeBox is set to No, then the Maximize icon still appears but is unavailable for selection.

Page Orientation *
Sets the label to one of the predefined standard orientations, either Portrait or Landscape.

Page Size *
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.

ReportLock **
Determines whether PC-DMIS can clear data from a form. If this is set to Yes, PC-DMIS does not clear data from the form. If it's set to No, PC-DMIS clears data from the form that is collected over time.

Supported Command Types *
Displays the Supported Command Types dialog box. With this dialog box, you can define the commands that 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 only displays those labels that support the selected command type.

ToolTipText
See the "Common Properties" topic.

Vertical Positioning **
Sets the vertical position of the form within the window when executed.

Width
Defines the width, in pixels, of the main editing area.