Xdialog Language Directives and Operators

The following topics are available.

Control

Function

Description

Button

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 Directive

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

Dynamic Text

H Directive

Causes the line spacing of dynamic text to be calculated based on the actual font being used.

O Directive

Specifies the formatting of the text.

O Directive {B} Operator

Specifies the background colors.

O Directive {C} Operator

Specifies the foreground colors.

Embedded Dialog

S Directive

Makes the embedded dialog scrollable.

List Box

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.

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

Macro Expansion Symbol

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

Radio Button

B Directive

Sets the border style for a button.

I Directive

Defines an image to place on a radio button.

T Directive

Defines bubble help for a radio button.

Rich Text Field

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

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

J Directive

Positions the labels of the tab control.

O Directive

Formats the labels of a tab control.

O Directive {@@} Operator

Specifies that the text contains embedded formatting commands.

R Directive

Defines the number of tab rows to display.

Text Box

+ 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 looses focus. Normally, then 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

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

Xdialog Commands, Xdialog Control Reference