UseForceOpenModeSide2 method: PanelController class

Syntax

UseForceOpenModeSide2(EnableForceMode)

Description

Use the UseForceOpenModeSide2 method to specify a Boolean value indicating whether the Side Page 2 panel can be forced to the open state when the panel is in fixed or collapsed (primary) mode or even when those modes are in secondary overlay mode. Invoke this method prior invoking a method to open the panel.

Note:

The default value is false.

Parameters

Parameter Description

EnableForceMode

Specifies a Boolean value indicating whether the panel can be forced to the open state.

Returns

None

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); 
&oPC.SetSide2ModeFixed(); /* Change mode to fixed  */
/* Set force mode so that the panel can be forced open in fixed or collapsed */
/* primary mode as well as secondary overlay mode. */
&oPC.UseForceOpenModeSide2( True);
/* Set panel open (even in secondary overlay mode) */
&oPC.SetSide2OpenState( True); 
&oPC.UpdatePanel(); /* Perform all updates to Side1/Side2 panels */