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

hiHypertextScroll

hiHypertextScroll(
g_hypertextField
t_linkName
)
=> t / nil

Description

Scrolls a hypertext field to display the text containing the link you specify. This function updates the ?pos argument of hiCreateHypertextField().

Arguments

g_hypertextField

Symbol representing the hypertext field that you want to update.

t_linkName

The link to which you want to scroll, specified as a string.

The link name is defined with the NAME attribute of the anchor tag when you specify the value of the hypertext field.

Values Returned

t

The hypertext field was scrolled to display the link.

nil

There was an error.

Examples

If your field is myField and the link in the text is:

"<A NAME=myLink href=http://www.cadence.com> Cadence Design Systems</A>"

Use the following to scroll to the link:

hiHypertextScroll( myField "myLink" )

Related Topics

Form and Field Functions

hiCreateHypertextField

hiCreateSimpleHypertextField

hiHypertextReadin

hiHypertextReplace


Return to top
 ⠀
X