DlgEnable Statement

  1. DlgEnable "ControlName", Value

This statement is used to enable or disable a particular control on a dialog box.

The parameter ControlName is the name of the control on the dialog box. The parameter Value is the value to set it to. 1 = Enable, 0 = Disable. On is equal to 1 in the example below. If the second parameter is omitted the status of the control toggles. The entire example below can be found in the dialog section of this manual and in the example .bas files that ship with Cypress Enable.

Related Topics:

DlgVisible, DlgText

More:

Example - DlgEnable Statement