|
|
|
|
|
<Panel>.Position (Function) In french: <Panneau>.Position Retrieves the position of a Dockable Panel control.
SWITCH PADO_TEST.Position()
CASE dopaLeft
CASE dopaRight
CASE dopaTop
CASE dopaBottom
CASE dopaFloating
END
IF PADO_Test.Position() = dopaLeft THEN
PADO_Test.Attache(dopaRight)
END
PADO_Détail.Attache(dopaBottom)
PADO_Infos.Attache(PanelPosition(PADO_Détail))
Syntax
<Result> = <Dockable Panel control>.Position()
<Result>: Character string or constant - Empty string ("") if the Dockable Panel control is a floating panel.
- Position of the Dockable Panel control. Can correspond to one of the following constants or combination of constants:
| | dopaBottom | The Dockable Panel control is anchored to the bottom | dopaFloating | The control becomes a floating Dockable Panel. | dopaLeft | The Dockable Panel control is anchored to the left. | dopaRight | The Dockable Panel control is anchored to the right. | dopaTop | The Dockable Panel control is anchored to the top. |
The constants can be combined.
<Dockable Panel control>: Control name Name of the Dockable Panel control to use. Remarks - The position can be modified using <Dockable panel>.Attach.
- If the control is a floating Dockable Panel, its position can be known via the X and Y properties.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|