Toolbars Property

image\btn_example.gif

image\validfor_amv.gif

Applies To Objects

Session

Description

Returns the Toolbars collection containing the individual Toolbar objects that are currently available to the session. Read-only.

Syntax

Set rc = object.Toolbars

Element

Description

Set

The Set statement, required for assigning an object reference to a variable.

rc

The object variable for referencing the returned object.

object

The Session object.

Comments

This collection consists of all of the Toolbars that are in the local and remote paths. If no Toolbars are available, the object is still returned, but its Count property is 0.

Once the Toolbars collection object is returned, you can access a specific Toolbar object. You can do this by using the Item method of the Toolbars collection object. For example, the following compound statement returns a reference to a Toolbar object.

Set StandardTB = Extra.Toolbars.Items(1)

If the returned Toolbar is not visible, set its Visible property to TRUE.