GetSide2Mode method: PanelController class

Syntax

GetSide2Mode()

Description

Use the GetSide2Mode method to retrieve the current mode of the Side Page 2 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.IsSide2Collapsible ... */
If &oPC.GetSide2Mode = &oPC.GetSide2Panel().PANEL_MODE_COLLAPSIBLE Then 
   ...
End-If;