|
|
|
|
ToolbarDock (Function) In french: BarreAttache Docks a Toolbar control to a window or changes the anchoring position of a docked Toolbar control. 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: | | barDown | The Toolbar control is docked at the bottom of the main window. | barLeft | The Toolbar control is docked to the left of the main window. | barRight | The Toolbar control is docked to the right of the main window. | barUp (Default value) | The Toolbar control is docked at the top of the main window. |
<X>: Optional integer X-coordinate of the upper-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 the upper-left corner of the 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|