ShowLayer

SUMMARY

Changes the Visibility of a Layer in a Window.

SYNTAX

ShowLayer(<window, layer, show>);

ARGUMENTS

window (type:string)
Defines the window (in BDC only "BdcRightPane" make sense).
layer (type:string)
The Layer wanted.
show (type:bool)
TRUE: The Layer becomes visible FALSE: The Layer becomes invisible

DESCRIPTION

Stack
  1. Missing arguments are taken from the stack (and deleted from there).
  2. The Job does not have a return value.

Effect
Changes the visibility of a Layer in window defined under Window.

EXAMPLES

Setting the Layer in a Checkbox

Not(Checked);        //Checked has got the old value as it was set by the 
                     //Refresh-Skript.
ShowLayer("BdcRightPane", "Layer1", );
RefreshThis();        //Is needed to redraw the Checkbox, since the standard 
                    //refresh mechanism works on Objects only.
To display the new status, see:
RefreshThis()
IsLayerVisible().


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times