This topic has not yet been rated - Rate this topic

Visual Basic: Windows Controls

Visual Studio 6.0

Position Property (Band Object)

See Also   Example   Applies To

Returns the position of a Band object within a CoolBar control.

Syntax

object.Position [= integer]

The Position property syntax has these parts:

Part Description
object An object expression that evaluates to a Band object.
integer An integer indicating the current position.

Remarks

The Position property can be used to determine the current location of a Band within a CoolBar control. While the Index of a Band remains constant, the Position changes as the bands are rearranged.

The Position property begins with a value of 1 for the Band in the upper left position and increments from left to right, top to bottom when the CoolBar orientation is horizontal. When the orientation is vertical, Position increments top to bottom, left to right.

Did you find this helpful?
(1500 characters remaining)