ComponentOne VSFlexGrid 8.0
LeftCol Property

Returns or sets the zero-based index of the leftmost non-fixed column displayed in the control.

Syntax

[form!]VSFlexGrid.LeftCol[ = value As Long ]

Remarks

Setting the LeftCol property causes the control to scroll through its contents horizontally so that the given column becomes the leftmost visible column. This is often useful when you want to synchronize two or more controls so that when one of them scrolls, the other scrolls as well.

To scroll vertically, use the TopRow property.

When setting this property, the largest possible column number is the total number of columns minus the number of columns that will fit the display. Attempting to set LeftCol to a greater value will cause the control to set it to the largest possible value (no error will occur).

To ensure that a given cell is visible, use the ShowCell method instead.

Data Type

Long

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback