Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:ComboBoxGetDisabledFlag

From RoR Wiki

UI Lua API · ComboBox functions
Version: WAR 1.4.8

Returns whether a ComboBox is disabled.

disabled = ComboBoxGetDisabledFlag(comboBoxName)

Arguments

comboBoxName
string – Name of the ComboBox.

Returns

disabled
boolean – true if the ComboBox is disabled.

Details

Errors

  • Error in function call 'ComboBoxGetDisabledFlag': Window %s does not exist
  • Error in function call 'ComboBoxGetDisabledFlag': Window %s is not a ComboBox

Example

A minimal example built from the signature:

if( not ComboBoxGetDisabledFlag( "MyComboBox" ) ) then
    ComboBoxExternalOpenMenu( "MyComboBox" )
end

See also