Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

ControlEnable Function

Overview

The ControlEnable function places the specified control in an enabled state.

Syntax/Parameters

Syntax

int = ControlEnable ( int id );

Parameters

id

An int that identifies the dialog control to enable.

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

Enabling a control allows the user to interact with it. Keyboard and mouse input on a enabled control is passed to the dialog procedure for processing. Enabling a control will not show the control if it is hidden.

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