Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiSetFieldEnabled

hiSetFieldEnabled(
g_field
g_enabled
)
=> t / nil

Description

Enables or disables a form field. A disabled field is greyed-out. This function updates all instances of the field. You can use hiSetFieldEnabled with all types of fields except separator fields.

You can also enable or disable a field with the following property:

form->field->enabled = t | nil

To enable or disable buttons on a form, use hiSetFormButtonEnabled.

Arguments

g_field

Handle to field returned from functions that create fields.

g_enabled

The field is enabled.

Values Returned

t

The field was changed according to your specification.

nil

The field was not changed.

Related Topics

Form and Field Functions

hiSetFormButtonEnabled


Return to top
 ⠀
X