ComponentOne True DBGrid Pro 8
RowResize Event

 

RowResize Event

The RowResize event occurs when the user has finished resizing a grid row.

Syntax

object_RowResize (Cancel As Integer)

Arguments

Cancel is an integer that may be set to True to undo resizing.

Remarks

Your event procedure can accept the change, alter the degree of change, or cancel the change completely.

The TDBGrid control's RowHeight property determines the height of all rows in the control.

If you set the Cancel argument to True, the previous row height is restored and no repainting occurs. To alter the degree of change, set the RowHeight property to the desired value.

It is not necessary to execute the Refresh method within this event procedure. Doing so causes the grid to be repainted even if the Cancel argument is True.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback