Dialog Control Types

 

The topics in this section discuss each control separately. The information for each control describes the control and how to use it. :

 

Calendar

A calendar-like user interface that provides the user with a recognizable method of entering or selecting a date.  

 

Checkbox

A square box, in which an "X" appears when selected. The CHECKBOX offers a way to present a variety of options.

 

ComControl

Hosts an ActiveX, OLE, VB, or COM component control.

 

DateTime

The DATETIME control is the WIL Dialog implementation of the Date and Time Picker Windows Common Control. It can be used to both display and receive date and time input in multiple formats.  

 

DropListbox

Made up of two parts: an EDITBOX and a drop-down ITEMBOX. A user can enter a value in the EDITBOX or select a suggested value from the drop-down items. The drop-down ITEMBOX is displayed by clicking on the arrow next to the EDITBOX .

 

Editbox

A box in which text can be typed.

 

FileListbox

Allows the user to select a file from any directory or drive on the system.

 

Groupbox

A rectangle that surrounds a set of controls.

 

Itembox

A selection list box.

 

MenuBar

A horizontal bar that appears at the top of your dialog just below the title bar.  A menu bar contains menu items.  Generally, menu items displayed in the menu bar cause drop-down menus to be displayed when selected by the user.

 

MenuItem

Menu displayed on a menu bar or as a menu item associated with a drop-down, context menu or submenu.

 

MultiLinebox

Allows a user to enter multiple lines of text.

 

Picture

Displays a bitmap.

 

PictureButton

A push button that displays a bitmap on its face instead of text and a background color.

 

PushButton

A button, which can be labeled and used as desired.

 

RadioButton

One of a group of circular buttons, only one of which can be "pressed" (filled in) at any given time.

 

ReportView

A ListView common control with the 'report' Windows style.  It can be used as either a simple grid control when a full featured grid control is not needed or as an advanced version of the WIL dialog ITEMBOX control.

 

Spinner

A pair of arrow buttons which the user can click to increment or decrement a value displayed in a small edit box

 

StaticText

Descriptive text, which does not change.

 

VaryText

Descriptive text, which does change.

 

 

 

 

§         Dialog

§         Dialog Overview

§         Defining the Dialog

§         Defining the Dialog Controls

§         Dialog Control Types

§         Dynamic Dialogs

§         InternetExplorer Controls

§         Dialog Units

§         Dialog Fonts

 

 

 

The following table is a complete list of controls. Controls are identified by their type name along the left side of the table. Control attributes are named along the top of the table. A check mark indicates that the control in the row has the attribute in the column.

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.