Determines the location a panel occupies in the browser window or parent panel
Type: Property (Web Property)
Access: Read/Write
Data Type: Integer
Parameters:
None
Syntax
{ WebProperty=Client }
Property Integer peRegion
|
WebGet peRegion to IntegerVariable |
WebSet peRegion to IntegerVariable/Value |
Get peRegion to IntegerVariable |
Set peRegion to IntegerVariable/Value |
Description
peRegion determines the location (region) a panel (cWebPanel, cWebView or cWebModalDialog) occupies in the browser window or inside a parent panel.
Possible values are:
Constant | Meaning | |
prCenter (0) | Panel is in center region |
prLeft (1) | Panel is in left region |
prRight (2) | Panel is in right region |
prTop (3) | Panel is in top region |
prBottom (4) | Panel is in bottom region |
Web panels are used to design the general layout of a web view (cWebView) or web modal dialog (cWebModalDialog). They are placed inside of a view, dialog or any other web panel. Up to 5 panels may be created at any level, each in its own region - top, bottom, left, right and center. Either zero or one object instances of each region are allowed.
If piWidth is not set, the panel in the center region (prCenter) will grow to fill any unused space in the browser window or inside a parent panel. The panels in other regions always expect a specific piWidth to be set.
Read more about panel layout design in the cWebPanel class.
About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not
be changed during the lifetime of that object. To access that value, use the standard property
Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's
local value whenever a server call is being processed. To access the web property value,
use the WebGet and WebSet syntax
above instead of the standard Get and Set syntax.