PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

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