SetToolbarPos

Sets the position of the specified toolbar.

To set

Use

Docking position of a docked toolbar

Syntax 1 For docked toolbars

Coordinates and size of a floating toolbar

Syntax 2 For floating toolbars


Syntax 1 For docked toolbars

Description

Sets the position of a docked toolbar.

Applies to

MDI frame and sheet windows

Syntax

window.SetToolbarPos ( toolbarindex, dockrow, offset, insert )

Returns

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.


Syntax 2 For floating toolbars

Description

Sets the position and size of a floating toolbar.

Applies to

MDI frame and sheet windows

Syntax

window.SetToolbarPos ( toolbarindex, x, y, width, height )

Returns

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.