Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

ControlHide Function

Overview

The ControlHide function will disable and hide a control so that it is not visible on a dialog.

Syntax/Parameters

Syntax

int = ControlHide ( int id );

Parameters

id

An int that identifies the dialog control to hide.

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

Hiding a control will automatically disable it. Keyboard and mouse input on a disabled control is ignored. Other controls around the hidden control are not automatically repositioned.

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