Skip past navigation linksSecure Global Desktop Administration Guide > Applets > isHierarchyEnabled (webtop script and webtop tray applets)

isHierarchyEnabled (webtop script and webtop tray applets)

Syntax

Skip past command syntax or program codeString 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

Skip past command syntax or program codeverdict = 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