PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 24 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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_Detail, dopaRight)
PanelAttach(DOPA_Info, dopaRight)
Syntax
PanelAttach(<Panel> [, <Position>])
<Panel>: Control name
Name of the Dockable Panel control to use.
<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.
dopaRightAttaches the Dockable Panel control to the right.
dopaLeftAttaches the Dockable Panel control to the left.
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 is the position is invalid.
Component : wd240obj.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment