pteContextMenu
pteContextMenu(
[ t_panelName ]
[ w_windowId ]
)
=> t / nil
Description
Displays the contextual menu for the specified Palette panel.
Arguments
|
t_panelName
|
Name of the Palette panel. Valid values: Layers, Objects, and Grids
Default: Currently active panel; if no panel is active, the contextual menu for the Layers panel is displayed
|
|
w_windowId
|
ID of the window containing the Palette for which you want to display the contextual menu. Valid values: ID of any open window Default: Current window
|
Value Returned
|
t
|
Contextual menu was displayed for the specified Palette panel.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteContextMenu("Grids")
pteContextMenu("Objects" window(2))
Return to top