SwitchLayerPanel()
Switches the visibility of two layers in a specific panel.
Synopsis
SwitchLayerPanel(int No1, int No2, string PanelName);
Parameters
Parameter | Description |
---|---|
No1 | Layer to hide |
No2 | Layer to display |
PanelName | Panel in which to switch layers |
Return value
None
Description
Similar to the function SwitchLayer(), however visibility is switched in a specific panel PanelName. Layer No1 is hidden and layer No2 is switched to visible.
Example
Hides Layer 1 and displays Layer 3 in the panel "panel24".
main()
{
SwitchLayerPanel(1, 3, "panel24");
}
Assignment
panel.ctl
Availability
UI