CONTROL ENABLE statement

Purpose

Enable a control so that it can receive messages when the user interacts with it via the mouse or keyboard.

Syntax

CONTROL ENABLE hDlg, id&

Remarks

hDlg refers to the dialog that owns the control. id& is the unique control identifier as assigned to the control with a CONTROL ADD statement.

An enabled control will receive messages when clicked with the mouse or selected with the keyboard.

See also

Dynamic Dialog Tools, CONTROL DISABLE, CONTROL KILL