ComponentOne VSFlexGrid 8.0
AfterUserResize Event

Fired after the user resizes a row or a column.

Syntax

Private Sub VSFlexGrid_AfterUserResize( ByVal Row As Long,  ByVal Col As Long)

Remarks

The user may resize rows and columns by dragging the edges of fixed rows and columns, depending on the setting of the AllowUserResizing property. The user may also double-click the edges of fixed rows and columns to automatically resize columns to fit the widest entries, depending on the setting of the AutoSizeMouse property.

If the user resized a row, the Row parameter contains the index of the row that was resized and the Col parameter contains -1. If the user resized a column, the Col parameter contains the index of the column that was resized and the Row parameter contains -1.

You may prevent specific rows and columns from being resized using the BeforeUserResize event.

 

 


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

Product Support Forum  |  Documentation Feedback