Version 6.3.8 für Windows
 —  Dialog Component Reference  —

Double-Click Event

This document covers the following topics:


Applies To

Bitmap Control, Canvas Control, List Box Control OLE Container Control, Table Control.

Top of page

Description

Occurs whenever the end user double-clicks on the dialog element. For list box controls and radio button controls, the double-click event normally triggers the event handler with the business logic, whereas the click event would normally trigger an event handler with a simple display function.

The first click of a double-click triggers a click event, except for when the click event is suppressed. In the context of list box controls and radio button controls, the first click of the double-click selects a list box item or a Radio Button Control. The second click should be equivalent to pressing the default button in the corresponding window.

If this event occurs in a cell of a Table Control, the ROW and COLUMN attributes are modified so that they contain the position of the cell.

If this event occurs inside the rectangle of an OLE Container Control, the OLE server application is started. Double-clicking inside an OLE Container Control is equivalent to clicking with the right mouse button. (Clicking the right mouse button inside the OLE Container Control 's rectangle invokes a pop-up menu. By default, releasing the mouse button without further selection executes the first command verb of the OLE server application.)

Top of page