Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Returns if a control on the currently active user dialog is enabled. Disabled controls cannot be focused. See VBS Displays for more information about user dialogs and controls.

Syntax

Syntax:ctrlEnabled idc
Parameters:
Return Value:Boolean - Returns true, if the control is enabled, false if not.

Alternative Syntax

Syntax:ctrlEnabled control
Parameters:
Return Value:Boolean

Examples

Examples:
if (!(ctrlEnabled 100)) then
{
  ctrlEnable [100, true]
};
_enabled = ctrlEnabled _control

Additional Information

See also: ctrlEnable
Multiplayer: 
Problems: 

Notes