Sie sind auf Seite 1von 3

Trizz.co.

in
Programming / OCX Controls / Tray Control V. 1.0.0
Description:
Trizz Tray Control is a control that can be used to add an icon of your VB6 app to the Tray. You can choose the icon that will be displayed and also the tooltip text that will be displayed on mouse hover. You can add commands whenever user clicks, double clicks, etc on the icon of the tray.

By default the control is named Tray1. Tray control contains 6 properties and 2 functions and 12 events. Those are discussed below.

Properties: 1. Automatic This property has True/False type value. This is used to verify that tray control should automatically add the icon to the tray when the application is run. If it is set true then the icon of the main form will be added to the tray, it will have the application title and version as its tooltip. Whenever the application is closed then the icon is automatically removed. 2. Index- This property is used if the application uses multiple Tray Control in an array.
http://trizz.co.in Page 1

3. Name- This property returns the name of the control. 4. Object has no use in this control 5. Parent Returns the object it is situated in. Like a form or frame or picture box. 6. Tag- This is a Property to store text for any purpose.

Functions: 1. AddIcon- This function is to add the icon to the tray. This function has two arguments- iconf where you need to specify the icon to display and tooltipf where you need to specify the tooltip to be display. 2. RemoveIcon- This function is used to remove the icon that was added to the tray previously.

Events: 1. LeftMouseUp() This event is triggered when the mouse button is raised after being pressed. 2. LeftMouseDown()-This event is triggered when the mouse button is pressed. 3. Event RightMouseUp()-This event is triggered when right mouse button is raised after being pressed. 4. Event RightMouseDown()-This event is triggered when right mouse button is pressed. 5. Event MouseMove()-This event is triggered when mouse is hovered over the tray icon.
http://trizz.co.in

left left the the the

Page 2

6. Event MiddileUp()-This event is triggered when the middle mouse button is raised after being pressed. 7. Event MiddileDown()-This event is triggered when the middle mouse button is pressed. 8. Event LeftDblClk()-This event is triggered when the left mouse button is double clicked. 9. Event RightDblclk()-This event is triggered when the right mouse button is double clicked. 10. Event MiddileDblClk()-This event is triggered when the middle mouse button is double clicked. 11. Event IconAdded()-This event is triggered when the icon has been added to the tray. 12. Event IconRemoved()-This event is triggered when the icon has been removed from the tray.

http://trizz.co.in

Page 3

Das könnte Ihnen auch gefallen