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

hiSetFieldEditable

hiSetFieldEditable( 
r_field 
g_editable 
) 
=> t / nil 

Description

Sets the specified field editable or noneditable, in all forms where it appears.

This function should be used after the form containing the field has been created. You can also make a field editable or noneditable using:

form->field->editable=t/nil

Arguments

r_field

Field must be a text-entry (type-in) field returned from a field creation routine. If the field is already placed in a form, the field must be specified through the form handle, that is, form->field.

g_editable

Makes the field editable. Read-only fields can accept focus through tabbing or clicking the mouse only if the ?fieldFocus argument of hiCreateAppForm is set to ’allTypein. On eight-plane displays, the text entry area of non-editable fields is greyed out and the field prompt is stippled.

Value Returned

t

The editable flag is set.

nil

The editable flag is not set. An error message is displayed.

Related Topics

Form and Field Functions

hiCreateAppForm


Return to top
 ⠀
X