| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Template Symbols > Built-in Symbols >====== Window Control Symbols {{c6h0068.jpg|C6H0068.jpg}} ====== | [[symbols dependent on procedure.htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[report control symbols.htm|{{btn_next_n.gif|Next page}}]] | | || | %Window | The label of the procedure's window. Dependent on %Procedure. | | %WindowStatement | The WINDOW or APPLICATION declaration statement (and all attributes). Dependent on %Window. | | %MenuBarStatement | The MENUBAR declaration statement (and all attributes). Dependent on %Window. | | %ToolbarStatement | The TOOLBAR declaration statement (and all attributes). Dependent on %Window. | | %WindowEvent | All field-independent events, as listed in the EQUATES.CLW file (without EVENT: prepended). Multi-valued. Dependent on %Window. | | %Control | The field equate labels of all controls in the window. Multi-valued. Dependent on %Window. | | %ControlUse | The control's USE variable (not field equate). Dependent on %Control. | | %ControlStatement | The control's declaration statement (and all attributes). This may contain multiple lines of code if the declaration is too long to fit on a single line. Dependent on %Control. | | %ControlUnsplitStatement | The control's declaration statement (and all attributes) without line spliting. Dependent on %Control. | | %ControlType | The type of control (MENU, ITEM, ENTRY, BUTTON, etc.). Dependent on %Control. | | %ControlTemplate | The name of the control template which populated the control onto the window. Dependent on %Control. | | %ControlTool | Contains 1 if the control is in a TOOLBAR. Dependent on %Control. | | %ControlParent | Contains the field equate label of the control's parent, if it is in a control structure (OPTION, GROUP, etc.). Dependent on %Control. | | %ControlParentType | Contains the type of control of the control's parent, if it is in a control structure (OPTION, GROUP, etc.). Dependent on %ControlParent. | | %ControlParentTab | Contains the field equate label of the TAB on which the control has been placed. Dependent on %Control. | | %ControlParameter | The control's parameter (the value in the parentheses). Dependent on %Control. | | %ControlHasIcon | Contains 1 if the LIST or COMBO control contains any icon attributes. Dependent on %Control. | | %ControlHasColor | Contains 1 if the LIST or COMBO control contins any color attributes. Dependent on %Control. | | %ControlHasStyle | Contains 1 if the LIST or COMBO control contains any style attributes. Dependent on %Control. | | **%ControlHasTip** | **Contains 1 if the LIST or COMBO control contains any tool tip attributes. Dependent on %Control.** | | %ControlHasTree | Contains 1 if the LIST or COMBO control contains any tree attributes. Dependent on %Control. | | %ControlDefaultWidth | The control's estimated default width. Dependent on %Control. | | %ControlDefaultHeight | The control's estimated default height. Dependent on %Control. | | %ControlMenu | Contains 1 if the control is in a MENUBAR. Dependent on %Control. | | %ControlToolBar | Contains the TOOLBAR declaration statement (and all attributes) if the control is the first control in a toolbar. Dependent on %Control. | | %ControlMenuBar | Contains the MENUBAR declaration statement (and all attributes) if the control is the first control in a menu. Dependent on %Control. | | %ControlIndent | The control declaration's indentation level in the generated data structure. Dependent on %Control. | | %ControlInstance | The instance number of the control template which populated the control onto the window. Dependent on %Control. | | %ControlOriginal | The original field equate label of the control as listed in the control template from which it came. Dependent on %Control. | | %ControlFrom | The FROM attribute of a LIST or COMBO control. Dependent on %Control. | | %ControlAlert | All ALRT attributes for the control. Multi-valued. Dependent on %Control. | | %ControlEvent | All field-specific events appropriate for the control, as listed in the EQUATES.CLW file (without the EVENT: prepended). Multi-valued. Dependent on %Control. | | %ControlField | All fields populated into the LIST, COMBO, or SPIN control. Multi-valued. Dependent on %Control. | | %ControlFieldHasIcon | Contains 1 if the field in the LIST or COMBO control is formatted to have an icon. Dependent on %ControlField. | | %ControlFieldHasColor | Contains 1 if the field in the LIST or COMBO control is formatted to have colors. Dependent on %ControlField. | | %ControlFieldHasTree | Contains 1 if the field in the LIST or COMBO control is formatted to be a tree. Dependent on %ControlField. | | %ControlFieldHasLocator | Contains 1 if the field in the LIST or COMBO control is formatted to be a locator. Dependent on %ControlField. | | **%ControlFieldHasTip** | **Contains 1 if the field in the LIST or COMBO control is formatted to have a tool tip. Dependent on %ControlField.** | | %ControlFieldDefaultTip | A string value that contains value of the column default tip if it is given, or an empty string otherwise. | | %ControlFieldPicture | Contains the picture token of the field in the LIST or COMBO control. Dependent on %ControlField. | | %ControlFieldHeader | Contains the heading text of the field in the LIST or COMBO control. Dependent on %ControlField. | | %ControlFieldFormat | Contains the portion of the FORMAT attribute string that applies to the field in the LIST or COMBO control. Dependent on %ControlField. |