# Function Reference

ControlDisable

Disables or "grays-out" a control.

ControlDisable ( "title", "text", controlID)

Parameters

title | The title of the window to access.
text | The text of the window to access.
controlID | The control to interact with. See Controls.

Return Value

Success: | Returns 1.
Failure: | Returns 0.

Remarks

None.

Related

ControlEnable, ControlHide, ControlCommand

Example

ControlDisable("Untitled -", "", "MDIClient1")