[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TTrayIcon is a multiplatform System Tray component. It adds an icon to the tray and signifies an application that is inactive but ready to be activated. Under Windows the System tray is usually located on the bottom-right corner of the screen, but it may be elsewhere. On other operating systems this position varies.
Source position: extctrls.pp line 1361
type TTrayIcon = class(TCustomTrayIcon) |
||
published |
||
property BalloonFlags; |
|
the set of kinds of balloon flag that can be displayed (may be None, Info, Warning or Error) |
property BalloonHint; |
|
The text to be shown in the hinting balloon |
property BalloonTimeout; |
|
The period after which the hinting balloon disappears |
property BalloonTitle; |
|
The title to be shown on the hinting balloon |
property PopUpMenu; |
|
PopUpMenu - a popup menu which is displayed when right mouse button is clicked over icon - separate from hint balloon |
property Icon; |
|
The Icon or picture that is to be displayed |
property Hint; |
|
A simple hint that is shown when the mouse hovers over the icon. |
property Visible; |
|
It is set to true when the icon is shown and remains true until Hide is called. Setting Visible has the same effect as calling Hide or Show. |
property OnClick; |
|
Event Handler for Mouse Click on Tray Icon |
property OnDblClick; |
|
Event handler for mouse double-click |
property OnMouseDown; |
|
Event handler if mouse button is pressed down |
property OnMouseUp; |
|
Event handler if mouse button is up |
property OnMouseMove; |
|
Event handler for mouse movement |
property OnPaint; |
|
Use this to implement custom drawing to the icon. Draw using the canvas property of the icon. Note: Does not work on win32. |
end; |
|
TTrayIcon is a multiplatform System Tray component. It adds an icon to the tray and signifies an application that is inactive but ready to be activated. Under Windows the System tray is usually located on the bottom-right corner of the screen, but it may be elsewhere. On other operating systems this position varies. |
|
| | ||
|
TCustomTrayIcon - the base class for TTrayIcon, a multiplatform System Tray component. |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |