RowResize Event (TDBCombo)
The RowResize event occurs when the user has finished resizing a control row.
object_RowResize (Cancel As Integer)
Arguments
Cancel is an integer that may be set to True to undo resizing.
Event applies to TDBList and TDBCombo controls.
Your event procedure can accept the change, alter the degree of change, or cancel the change completely.
The 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 control to be repainted even if the Cancel argument is True.
See Also