ComponentOne True DBGrid Pro 8
LeftColChange Event

 

Object Reference> True DBGrid Events> LeftColChange Event

LeftColChange Event

The LeftColChange event occurs when the first visible column of a grid or split is changed.

Syntax

TDBGrid_LeftColChange (ByVal SplitIndex As Integer)

TDBDropDown_LeftColChange ( )

Arguments

SplitIndex is the zero-based index of the split in which the column change occurred. This argument is omitted for TDBDropDown controls.

Remarks

This event is triggered under several circumstances:

·      When the grid is first displayed.

·      When the user scrolls through the grid with the horizontal scroll bar or navigation keys.

·      When the LeftCol property is changed in code to a different value.

·      When the Visible property of the current left column is set to False.

·      When the Width property of the current left column is set to 0.

·      When the user resizes the current left column so that it is no longer visible.

·      When the user moves the current left column or moves another column into its place.

When multiple cell change events are sent, the order will be SplitChange, FirstRowChange, LeftColChange, and RowColChange. None of these events will be sent until any modified data has been validated with the BeforeColUpdate event.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback