Xdialog Language Directives and Operators

Description

The following topics are available.

Controls 

  • Button 

    The Functions for the Button control:

    • B Directive 

      Sets the border style for a button.

    • I Directive 

      Defines an image to place on a button.

    • O Directive 

      Specifies the formatting of a button's label.

    • OF Directive 

      Specifies the formatting of a button's label when the button has focus.

    • T Directive 

      Defines bubble help for a button.

  • Combo Box 

    A Function for the Combo Box control:

    • A Directive 

      Displays bubble help containing the possible entries, calculated from what has been typed into the field.

  • Dynamic Text 

    The Functions for the Dynamic Text control:

  • Embedded Dialog 

    A Function for the Embedded Dialog control:

  • List Box 

    The Functions for the List Box control:

    • C Directive 

      Defines the multiple column structure of a multi-column list box.

    • D Directive 

      Causes the line spacing in a list box to be adjusted automatically for the point size of the type being displayed.

    • E Directive 

      Defines a multiple selection list box using standard Windows conventions for selecting multiple items.

    • F Directive 

      References the name of a character variable containing an owner draw format string to be applied when the list box is loaded. It is used when creating resizable column list boxes. F- a special directive to turn off the focus rectangle that surrounds the item in the list with focus.

    • H Directive 

      Allows horizontal scrolling in a list box.

    • I Directive 

      Defines an image to place in a list box.

    • KE Directive 

      Defines a record list edit combo box.

    • KL Directive 

      Defines a record list list box.

    • M Directive 

      Defines a multiple selection list box. The multi-select behavior requires you to click an item to select or deselect.

    • ME Directive 

      Causes a multiple selection list box to return the item with focus at the beginning of the list. The multi-select behavior requires you to Shift+Click or Ctrl+Click.

    • MW Directive 

      Populates a list box with the selections of a Multi-Select List Box.

    • O Directive 

      Allows you to format the entries in a List Box control.

      • {@} Operator 

        Selects text from the input value in a list box owner draw string.

      • {B} Operator 

        Specifies background colors in a list box owner draw string.

      • {C} Operator 

        Specifies foreground colors in a list box owner draw string.

      • {F} Operator 

        Specifies font, point size, and style in a list box owner draw string.

      • {I} Operator 

        Specifies an image in a list box owner draw string.

      • {T} Operator 

        Specifies a tab in a list box owner draw string.

    • R Directive 

      Defines that a list box will have a specific number of lines, regardless of the point size of the text in the list box.

    • T Directive 

      Defines bubble help for a list box.

  • Macro Expansion Symbol 

    The Functions for the Macro Expansion Symbol control:

    • Macro Expansion Symbol 

      Allows a Record List or Tree List control to read its formatting instructions from a variable.

  • Radio Button 

    The Functions for the Radio Button control:

  • Rich Text Field 

    The Functions for the Rich Text Field control:

    • K Directive 

      Displays formatted editable text in scrollable window with a ruler at its top.

    • N Directive 

      Displays formatted editable text in scrollable window.

    • R Directive 

      Displays text in a static, read-only scrollable window.

    • S Directive 

      Displays text in a static, non-scrollable window.

  • Static Text 

    The Functions for the control:

    • H Directive 

      Specifies that width (character) and height (line) calculations will be performed using the currently specified font and point size.

    • O Directive 

      Allows you to format static text.

      • {B} Operator 

        Specifies background colors in a list box owner draw string.

      • {C} Operator 

        Specifies foreground colors in a list box owner draw string.

      • {F} Operator 

        Specifies font, point size, and style in an owner draw string.

      • {I} Operator 

        Adds an image into a static text in an owner draw string.

  • Tab 

  • Text Box 

    Text Box functions:

    • + Directive 

      Defines a text box with auto advance.

    • * Directive 

      Defines the text box whose text will be auto-selected.

    • A Directive 

      Allows a text box to accept a tab as a character, as opposed to moving the cursor to the next control.

    • A5W Directive 

      Converts the text box into an editor for A5W pages.

    • F Directive 

      The F directive provides formatting for a time or date value.

    • I Directive 

      Converts the text box into a Interactive Window.

    • L Directive 

      Converts the text box into a Code Editor.

    • K Directive 

      Keep text highlighted even when the control loses focus.

    • M Directive 

      Creates a multi-line text box.

    • N Directive 

      Causes the Change event to fire only when the control loses focus. Normally, the Change event fires as soon as the value in the control changes.

    • P Directive 

      Hides input to the text box, allowing it to be used to capture passwords.

    • P= Directive 

      Creates a smart field.

    • R Directive 

      Makes a text box read-only.

    • S Directive 

      Creates a spin control.

    • TF Directive 

      Indicates that the following data is a time or date value.

    • V Directive 

      Creates a vertical scroll bar.

    • W Directive 

      Creates a word-wrapped a multi-line text box.

  • Tree 

    Tree Functions:

    • D Directive 

      Defines the separator between data elements within each line of the input string.

    • I Directive 

      Specifies image used in a tree control.

    • S Directive 

      Specifies whether to draw boxes and lines.

    • X Directive 

      Allows you to dynamically populate the branches of a tree control with function calls.

See Also