pePosition - cWebFloatingPanel
Determines how the floating panel calculates it position and its size
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
{ WebProperty=Client }
Property Integer pePosition
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet pePosition to IntegerVariable |
| Write Access: | WebSet pePosition to IntegerVariable/Value |
Description
Determines how the floating panel calculates it position and its size.
There are several modes available making this control very versatile:
| Constant | Meaning |
|---|---|
| fpFloatByControl (1) | The floating panel will position itself relative to the control determined by the phoFloatByControl property. The piTop, piLeft, piBottom and piRight properties are ignored. Depending on the position of the control on the screen it will display above or below (where below is the default). |
| fpFloatLeftSqueezeWebApp (2) | The floating panel will display itself on the left of the screen spanning the full height. It will squeeze the webapp to make space. On piWidth and piContentWidth are expected to be set to determine the size. All other positioning properties are ignored. Note that this will only work properly if the webapp is not embedded inside another page. |
| fpFloatLeftPushWebApp (3) | Positions the same as fpFloatLeftSqueezeWebApp but instead of making space by squeezing it will push the webapp off screen and disable it. |
| fpFloatFixed (4) | Positions the panel based on the provided coordinates in piLeft, piTop, piBottom and piRight. Usually you would use two of them combined with a piWidth to determine the position and size. Using all of them makes the panel stretch the available space. |
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.
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.