PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Docks a Toolbar control to a window or changes the anchoring position of a docked Toolbar control.
Example
ToolbarDock(TBAR_Toolbar1, barUp)
Syntax
ToolbarDock(<Toolbar control> [, <Docked side> [, <X> , <Y>]])
<Toolbar control>: Control name
Name of Toolbar control to use.
<Docked side>: Optional constant
Toolbar control docking side:
barUp
(Default value)
The Toolbar control is docked at the top of the main window.
barDownThe Toolbar control is docked at the bottom of the main window.
barLeftThe Toolbar control is docked to the left of the main window.
barRightThe Toolbar control is docked to the right of the main window.
<X>: Optional integer
X coordinate of top left corner of Toolbar control. This X coordinate is equal to 0 by default.
If the barLeft constant is used, <X> is passed for information only. The Toolbar control is always docked to the left or to the right. If several Toolbar controls are docked, the specified Toolbar control is inserted as close as possible to the <Y> position specified.
<Y>: Optional integer
Y coordinate of top left corner of toolbar. This Y coordinate is equal to 0 by default.
If the barUp constant is used, <Y> is passed for information only. The Toolbar control is always docked at the top or at the bottom. If several Toolbar controls are docked, the specified Toolbar control is inserted as close as possible to the <Y> position specified.
Remarks
The keyword MyWindow must not be used:
  • in the events associated with the Toolbar control.
  • in the events associated with the controls in the toolbar.
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment