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

hiGetInsertionPosition

hiGetInsertionPosition(
g_form
s_field
)
=> x_position / nil

Description

Gets the current position of the insertion cursor in a type-in field. You can use the hiSetInsertionPosition function to change the position of the cursor.

Arguments

g_form

Handle to the form, which is returned by hiCreateAppForm.

s_field

Symbol name of the field.

Value Returned

x_position

An integer that represents the position of the insertion cursor. The beginning of the field is 0, the first character is 1, and so on.

nil

The position of the insertion cursor could not be obtained.

Related Topics

hiCreateAppForm

hiSetInsertionPosition

Form and Field Functions


Return to top
 ⠀
X