Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

pteCancelForm

pteCancelForm(
t_formName
[ w_windowId ]
)
=> t / nil

Description

Closes the specified Palette form.

Arguments

t_formName

Name of the Palette form.

w_windowId

ID of the window in which the form is open.
Valid values: ID of any open window
Default: Current window

Value Returned

t

The specified Palette form was closed.

nil

The command was unsuccessful.

Examples

Closes the Options form:

pteCancelForm("Options")

Closes the Save As Layer Set form in the window with ID 2:

pteCancelForm("Save As Layer Set" window(2))


Return to top
 ⠀
X