ComponentOne List 8.0 for ActiveX
Click Event (TDBCombo)

 

TDBCombo Reference> TDBCombo Events> Click Event (TDBCombo)

Click Event (TDBCombo)

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

Syntax

object_Click ( )

Arguments

None

Remarks

Event applies to TDBList and TDBCombo controls.

Clicking a control also generates MouseDown and MouseUp events in addition to the Click event. The order of events for both the TDBList and TDBCombo controls is MouseDown, MouseUp, and Click.

When the user clicks a noncurrent row, the Click event fires before the control attempts to reposition to the row that was clicked. If the attempt succeeds, the control then fires the 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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback