ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Dockable Panel functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Attaches or changes the attach position of a Dockable Panel control.
Example
// Create a configuration with 2 panels at the bottom, one next to the other
PanelAttach(DOPA_Left, dopaLeft)
PanelAttach(DOPA_Right, dopaTop + dopaRight)
 
// Create a configuration with 2 panels at the bottom in the same area
PanelAttach(DOPA_Details, dopaRight)
PanelAttach(DOPA_Info, dopaRight)
Syntax
PanelAttach(<Dockable Panel control> [, <Reference Panel control>] [, <Position>])
<Dockable Panel control>: Control name
Name of the Dockable Panel control to use.
<Reference Panel control>: Optional control name
Name of the Dockable Panel control to be used as reference. If this parameter is specified:
  • the position set with the <Position> parameter will be relative to this control.
  • if the <Position> parameter is not specified, <Dockable Panel control> will be positioned in the same tab as <Reference Panel control>.
<Position>: Optional String constant (or combination of constants)
Describes the position where the Dockable Panel control should be attached:
dopaBottomAttaches the Dockable Panel control to the bottom.
dopaLeftAttaches the Dockable Panel control to the left.
dopaRightAttaches the Dockable Panel control to the right.
dopaTopAttaches the Dockable Panel control to the top.

The constants can be combined in pairs, where a constant gives the Left/Right position and another gives the Bottom/Top position.
If this parameter is not specified and the control is a Dockable Panel control, it is attached to its last known position.
If the position is already occupied, the Dockable Panel control is added to the area and a pane is automatically created and displayed.
Remarks
  • The position of the Dockable Panel control can be known using PanelPosition.
  • PanelAttach causes a non-fatal error if the position is invalid.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/30/2022

Send a report | Local help