ComponentOne True DBGrid Pro 8
DblClick Event

 

DblClick Event

The DblClick event occurs when the user presses then releases a mouse button twice in rapid succession over the grid.

Syntax

object_DblClick ( )

Arguments

None

Remarks

Double clicking a grid also generates MouseDown, MouseUp, and Click events in addition to the DblClick event. The order of events for the TDBGrid control is MouseDown, MouseUp, Click, DblClick, and MouseUp.

Note

When the MarqueeStyle property of a TDBGrid control is set to the default value of 6 - Floating Editor, the DblClick event will not fire when the user double-clicks a noncurrent cell within the grid. This is because the first click is used by the floating editor to begin editing, placing the cell into edit mode at the character on which the click occurred. Double-clicking the current cell of the grid fires the DblClick event normally, however.

See Also

TDBGrid Control

TDBDropDown Control

 

 


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

Product Support Forum  |  Documentation Feedback