Sign in Join
FPDoc Onlineexperiment

TTrayIcon.OnPaint property

Member of TTrayIconpublishedIn unit ExtCtrls

Event handler signalled to implement custom drawing for the tray icon.

Declaration

pascal
property OnPaint:;

Description

OnPaint is a TNotifyEvent property with the event handler used to implement custom drawing for the tray icon. It is signalled when the widgetset class executes its internal paint routine. The handle in Canvas is valid when OnPaint is executed, and can be used to perform drawing operations for the control Icon.

OnPaint is not implemented for the Win32 platform.

This description is the one of ExtCtrls.TCustomTrayIcon.OnPaint.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.