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

hiCreateSimpleHypertextField

hiCreateSimpleHypertextField(
s_name
t_text
t_link
[ g_newWindow ]
)
=> r_fieldHandle

Description

Creates a simple one-line hypertext field, which displays a hyperlink to a Web page. See hiCreateHypertextField() for information on how to create a more complex hypertext field.

Links to a Web page is displayed in a Web browser. If a browser is already open, it is used, otherwise, the browser specified in the Web Browser field of the CIW User Preferences form is used. The default browser is Netscape.

This field can also have a context menu, that is, a pop-up menu that is displayed when you right-click on the field.

For information on creating tooltips for fields, see Creating Tool Tips for Fields.

Arguments

s_name

Handle to the field. To reference it, use

formHandle->hiFieldSym

t_text

The text that you want to display.

t_link

The URL associated with t_text, specified as a string.

g_newWindow

t or nil. Specify t if you want the Web page to be displayed in a new browser window when a user clicks the hyperlink. The default value is nil.

Values Returned

r_fieldHandle

Handle to the simple hypertext field.

Example

hiCreateSimpleHypertextField( ’mySimpleField "Cadence Design Systems" "http://www.cadence.com" )

Related Topics

Form and Field Functions

Creating Context Menus for Fields

hiCreateHypertextField

hiHypertextReadin

hiHypertextReplace

hiHypertextScroll

hiLaunchBrowser


Return to top
 ⠀
X