Secure Global Desktop Administration Guide > Applets > isHierarchyEnabled (webtop script and webtop tray applets)

isHierarchyEnabled (webtop script and webtop tray applets)

Syntax

String isHierarchyEnabled()

Description

Returns "TRUE" if the webtop is in hierarchy mode, otherwise it returns "FALSE".

You can enable hierarchy mode by setting the UseHierarchy parameter to true.

This method can be used with either the webtop script applet or the webtop tray applet.

Examples

verdict = applet.isHierarchyEnabled();
if (verdict == "TRUE")
    alert("The webtop is in hierarchy mode!");
else
    alert("The webtop is not in hierarchy mode!");

Displays a dialog indicating whether the webtop is in hierarchy mode or not.

Related topics