drdLayerItemClicked
drdLayerItemClicked(
t_layerName
x_columnIndex
x_stateValue
w_windowId
)
=> t / nil
Description
Toggles the state of a layer on the Filters tab of the DRD Options form.
Arguments
|
t_layerName
|
Name of the layer.
|
|
x_columnIndex
|
Column index; 0 indicates none, 1 indicates the Layer column, and 2 indicates the S column.
|
|
x_stateValue
|
Value indicating the selection states of a layer; 0 for deselection, 1 for partial selection, and 2 for complete selection.
|
|
w_windowId
|
The current window ID.
|
Value Returned
|
t
|
The state of the layer was changed.
|
|
nil
|
The state of the layer could not be changed.
|
Examples
drdLayerItemClicked("Via8" 2 0 window(2))
It deselects the Via8 layer.
drdLayerItemClicked("Via6" 2 2 window(2))
It selects the Via6 layer.
Return to top