Control Attributes

 

The Dialog Editor has a variety of controls which can be selected to create a customizable user interface.

To add a control:

Select the control from the icons on the Control toolbar.

Or

From the Insert menu, select the appropriate Control. When you select one of these menu items and move the mouse cursor of your dialog, the cursor will change to a crosshairs. The cursor indicates where the selected control will be created when you left click or press the Enter key. Click the Unselect menu to cancel your selection and restore normal function and appearance to the cursor.

Define attributes for a control:

Right-click on the control. Select Attributes... and fill in the information in resulting dialog box about the control. The control may need a Variable name, a Value or Text. Not all information will be needed for each control. When your finished select the OK button.

After a control has been created in your dialog box you can move it, size it or delete it.

To MOVE the control, click on it and drag it to a new position with the left mouse button.

To SIZE a control, click on the edge and drag with the left mouse button. Or use the Shift+Arrow keys to increase or the Ctrl+Arrow keys to decrease the size of the control.

To DELETE a control, position the mouse over the control and press the delete key.

Some of the Controls require extra knowledge or special handling.

Note: You can have a maximum of 500 controls in a dialog.

 

 

WIL Dialog - Dialog Attributes

Control Attributes

 

Calendar

Check Box

Com Control

DateTime

DropList Box

Edit Box

File Listbox

Group Box

Item Listbox

MenuBar

MenuItem

Multiline Box

Picture

Picture Button

Push Button

Radio Button

Report View

Spinner

Static Text

Varying Text

 

 

Controls and Their Attributes

 

 

Variable/
License String /
Parent Name
[*]

Text/
pre-sel/
moniker

[**]

Value

Style

Tab Order/
Relative Position
[***]

font

text color

background
[****]

Push Button

 

T

x

x

TO

x

x

C

Picture

 

T

 

x

TO

 

 

B

Radio Button

V

T

x

x

TO

x

x

C

Check Box

V

T

x

x

TO

x

x

C

Picture Button

 

T

 

x

TO

 

 

B

Edit Box

V

T

 

x

TO

x

x

C

Multiline Edit Box

V

T

 

x

TO

x

x

C

Group Box

 

T

 

x

TO

x

x

C

Item List Box

V

P

 

x

TO

x

x

C

File List Box

V

P

 

x

TO

x

x

C

Spinner

V

T

 

x

TO

x

x

C

Static Text

 

T

 

x

TO

x

x

C

Variable Text

V

T

 

x

TO

x

x

C

Calendar

V

 

 

x

TO

x

 

 

Drop-down Combo Box

V

T

 

x

TO

x

x

C

Com Control

L

M

 

x

TO

x

x

C

Report View

V

T

 

x

TO

x

x

C

DateTime

V

T

 

x

TO

x

x

C

Menu Item

PN

T

 

x

RP

 

 

 

Menu Bar

 

 

 

 

 

 

 

 

[*] V = variable, L = license string, PN = parent name
[**] T = control text, P = pre-selected value, M = progid/classid/moniker
[***] TO = Tab order, RP = relative position
[****] B = bitmap, C= color spec.