Sets the position of the specified toolbar.
To set |
Use |
---|---|
Docking position of a docked toolbar |
|
Coordinates and size of a floating toolbar |
Sets the position of a docked toolbar.
MDI frame and sheet windows
window.SetToolbarPos ( toolbarindex, dockrow, offset, insert )
Integer. Returns 1 if it succeeds. SetToolbarPos returns -1 if there is no toolbar for the index you specify or if an error occurs. If any argument’s value is null, returns null.
Sets the position and size of a floating toolbar.
MDI frame and sheet windows
window.SetToolbarPos ( toolbarindex, x, y, width, height )
Integer. Returns 1 if it succeeds. SetToolbarPos returns -1 if there is no toolbar for the index you specify or if an error occurs. If any argument’s value is null, SetToolbarPos returns null.