[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomTrayIcon.OnDblClick

Event handler signalled when a mouse button is double-clicked on the tray icon.

Declaration

Source position: extctrls.pp line 1432

public property TCustomTrayIcon.OnDblClick : TNotifyEvent
  read FOnDblClick
  write FOnDblClick;

Description

OnDblClick is a TNotifyEvent property with the Event handler signalled when the Left mouse button is double-clicked on the tray icon. An application can implement and assign an object procedure to the event handler to perform any actions needed when the tray icon is double-clicked.

Use OnClick to perform actions needed when the Left mouse button is single-clicked on the tray icon.

Remark: When both OnClick and OnDblClick are assigned, OnClick is signalled twice for a mouse double-click event. Once before OnDblClick, and once after OnDblClick.

Use OnMouseUp and OnMouseDown if another mouse button (other than mbLeft), the keyboard modifier like Shift/Ctrl/Alt, or the mouse coordinates must be examined.

See also

TCustomTrayIcon.OnClick

  

Event handler signalled when a mouse button is single-clicked on the tray icon.

TCustomTrayIcon.OnMouseDown

  

Event handler signalled when a mouse button down event is detected for the tray icon.

TCustomTrayIcon.OnMouseUp

  

Event handler signalled when a mouse button up event is detected for the tray icon.


Version 3.2 Generated 2024-02-25 Home