ComponentOne True DBGrid Pro 8
Click Event

 

Click Event

The Click event occurs when the user presses then releases a mouse button over the grid.

Syntax

object_Click ( )

Arguments

None

Remarks

Clicking a grid also generates MouseDown and MouseUp events in addition to the Click event. The order of events for both the TDBGrid and TDBDropDown controls is MouseDown, MouseUp, and Click.

When the user clicks a noncurrent row, the Click event fires before the grid attempts to reposition to the row that was clicked. If the attempt succeeds, the grid then fires the RowColChange (or RowChange) event. For this reason, you should not use the Click event to perform operations that depend upon the current row.

Note

You can use the PostMsg method and PostEvent event to defer processing until the row change has completed.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback