DFrame.show method: Create the graphical representation of the DFrame object if not yet done and set it on the top of all others DFrames
Bar, BarLayer and Menu: Allow to hide or show the object
var dFrame = new DFrame(parameters)
dFrame.show()
Demo
file: showBarAndButtons.html
Run the
example
See the source code
object.show(flag)
flag
Boolean:
true (default): show the object
false: hide the object
no return value.
Show the object or not depending on the value of the flag.
If apply to a DFrame: Create it if not yet done.
If apply to a created DFrame with true (default) as
parameter: Set the DFrame on the top of all others DFrames.
Can also apply to BarLayers but, as show a BarLayer needs to hide all others
BarLayers (BarLayers are transparent), the useBarLayer method will hide all
other BarLayers and is recommended.