pteSetAllLSEnable
pteSetAllLSEnable(
g_showState
[ w_windowId ]
)
=> t / nil
Description
Enables or disables all the layer sets listed in the Layer Set Manager, except the one that is currently in use.
Arguments
|
g_showState
|
If set to t, all layer sets are enabled. If set to nil, all layer sets, except the layer set that is currently in use, are disabled.
|
|
w_windowId
|
ID of the window containing the Palette that you want to update. Valid values: ID of any open window Default: Current window
|
Value Returned
|
t
|
Layer sets were enabled or disabled, as required.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetAllLSEnable(t)
pteSetAllLSEnable(nil window(2))
Return to top