Export (0) Print
Expand All
A
Expand Minimize

Visual Basic: Windows Controls

Visual Studio 6.0

AllowVertical Property (Band Object)

See Also   Example   Applies To

Returns or sets a value indicating whether a band will be displayed when the CoolBar controls orientation is set to vertical.

Syntax

object.AllowVertical [= boolean]

The AllowVertical property syntax has these parts:

Part Description
object An object expression that evaluates to a Band object in a CoolBar control.
boolean A Boolean expression specifying whether the band is visible or hidden.

Settings

The settings for boolean are:

Setting Description
True (Default) Band is visible.
False Band is hidden.

Remarks

To hide a band at startup when the Orientation is set to Vertical, set the AllowVertical property to False at design time. Setting this property in code enables you to hide and later redisplay a band at run time in response to a particular event.

Note   When the Orientation property is set to vertical, both AllowVertical and Visible must be True for the band to be visible. If either is False, the band will not be visible.

Show:
© 2014 Microsoft