Click (Area as Integer) Event

Occurs when the user releases the left mouse key in a drop-down list (combo) box object in the run-time environment.

Syntax

object_Click(1 | 2 | 3)

NOTE (CIMPLICITY USERS ONLY): The event handler above is named in accordance with the standard VBA naming convention. In CIMPLICITY, this convention is not followed and the default name for this event handler is OnClick.  You can use a name of your own choice for the event handler and use the Event tab to associate it with the ActiveX event in question. For some events you may notice that there are already handlers, in which case you should add your own processing to the existing handlers rather than replacing them.

Parameters

The Click event syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

1

A click in the default display area of the drop-down list box.

2

A click on the arrow of the drop-down list box.

3

A click in the drop-down area of the list box.

The sequence of mouse-related events is:

Click

DblClick

See Also

Applies to