ComponentOne VSFlexGrid 8.0
ColIsVisible Property

Returns whether a given column is currently within view.

Syntax

val% = [form!]VSFlexGrid.ColIsVisible(Col As Long)

Remarks

The ColIsVisible and RowIsVisible properties are used to determine whether the specified column or row is within the visible area of the control or whether it has been scrolled off the visible part of the control.

This example checks to see if the second column is currently within view:

   If fg.ColIsVisible(1) Then

      Debug.Print "Column 1 is visible"

   End If

If a column has zero width or is hidden but is within the scrollable area, ColIsVisible returns True.

To ensure a given column is visible, use the ShowCell method.

Data Type

Boolean

 

 


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

Product Support Forum  |  Documentation Feedback