GetSide1Mode method: PanelController class

Syntax

GetSide1Mode()

Description

Use the GetSide1Mode method to retrieve the current mode of the Side Page 1 panel as an Integer. Use the following integer constants of the Panel class:

  • PANEL_MODE_COLLAPSIBLE - Collapsible mode.

  • PANEL_MODE_FIXED - Fixed mode.

  • PANEL_MODE_OVERLAY - Overlay mode.

Parameters

None

Returns

An Integer value.

Example

import PT_PAGE_UTILS:*;
Local PT_PAGE_UTILS:PanelController &oPC = create PT_PAGE_UTILS:PanelController();
/* Multiple operations to be performed – auto-update disabled */
&oPC.Initialize( False);

/* A simpler alternative would be &oPC.IsSide1Collapsible ... */
If &oPC.GetSide1Mode = &oPC.GetSide1Panel().PANEL_MODE_COLLAPSIBLE Then 
   ...
End-If;