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

hiGetTextFieldFit

hiGetTextFieldFit( 
x_rows
x_columns
g_ignored
g_hasVerticalScrollbar
g_hasHorizontalScrollbar
) 
=> l_dimensions

Description

Returns the size necessary for a multiline text field to display x_rows and x_columns of characters.

For more information about multiline text fields, see hiCreateMLTextField.

Arguments

x_rows

The number of rows of text.

x_columns

The number of columns of text.

g_ignored

Any value that exists for backwards compatibility and is ignored.

g_hasVerticalScrollbar

  

Indicates if there should be a vertical scroll bar displayed for the multi-line text field.

g_hasHorizontalScrollbar

  

Indicates if there should be a horizontal scroll bar displayed for the multi-line text field.

Value Returned

l_dimensions

A list containing the width and height in pixels.

Related Topics

Form and Field Functions


Return to top
 ⠀
X