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

hiResizeField

hiResizeField( 
r_2DForm 
s_field 
l_resizeDescription 
) 
=> t / nil 

Description

Changes the width, height, or promptBox width of a specified field. This function cannot be used for fields that have field attachments. Use hiReattachField for fields with field attachments.

Arguments

r_2DForm

2D form returned from hiCreateAppForm or hiCreateForm.

s_field

SKILL field handle representing the field you wish to resize.

l_resizeDescription

  

New dimensions, in the following form:

list( x_width x_height [x_promptWidth])

x_width and x_height: The new width and height of the field.

x_promptWidth: Optional, and is considered only if a prompt exists. If this value is not specified for a field which has a prompt, the prompt box for the field does not change.

For separator fields the height is ignored and the width as the length of the separator whether it is vertical or horizontal.

Values Returned

t

The field characteristics are changed.

nil

The field characteristics are not changed. An error message is also issued.

Related Topics

Form and Field Functions


Return to top
 ⠀
X