Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

ControlDisable Function

Overview

The ControlDisable function places the specified control in a disabled state.

Syntax/Parameters

Syntax

int = ControlDisable ( int id );

Parameters

id

An int that identifies the dialog control to disable.

Return Value

Returns an int value as ERROR_NONE on success, ERROR_RANGE if id is an invalid control ID for the open dialog, or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

When disabled, a control will normally appear grayed (depending on the theme). Keyboard and mouse input on a disabled control is ignored. Disabling a control will not automatically hide the control.

This function can only be used within a dialog procedure.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic