ShellPlus Customer login
ShellPlus
Shell+ components
    Home
    News
    Overview
    Download
    Examples
    Customer's area
    Flash Demo
 
Developer Tools
    Shell Reset Tool
 
Shell+ Tutorial
    Namespace Extensions
    ShortCut menu
    Property Sheet
    Icon Handler
    Thumbnails
    InfoTip Handler
    Copy Hook
    Balloon TrayIcon
    Control Panel
    Shortcut Files
    Drag&Drop Menu
    Shell Change Notify
 
Powered by Shell+
    Romeo Burner
 
Documents
    Articles Index
    Press Releases
 
Purchase
    Buy now
    Resellers network
    Resellers wanted
 
Support
    Contact directly
    Customer's area
 
About/Contacts
    Shell+ Developers

Embarcader Technology Partner

 
TSxTrayIcon Usage

    Starting from the 5.0 version of Microsoft ® Internet Explorer the cartoon-style tips are available. They are known as Balloon ToolTip:

Tray Notify Icon with balloon Example
Fig 1. Balloon ToolTip example

    Shell+ allows you to use Balloon ToolTips in your application. Place TSxTrayIcon on the main form of your application. Then add ShowInfo and/or ShowCustomInfo method calls to show icon and ToolTip balloon. These two methods are considered below.

    The ShowInfo method has no parameters. It uses the following component properties:

  • InfoFlags - indicates what icon to be shown in the left top corner of the balloon. Several predefined values are available - niifError, niifInfo, niifNone and niifWarning.
  • InfoText - this property contains the text to be displayed in the ToolTip.
  • InfoTitle - value of this property will be used as a caption of Balloon. ToolTip.

   If you wish to supply all these properties in one call then use the second method - ShowCustomInfo:

procedure TForm1.Button1Click(Sender: TObject);
begin
  SxTrayIcon1.ShowCustomInfo('The Shell+ Demo','Shell+',niifInfo);
end;

        To test the example simply run it. Press the button and you will see our ToolTip:

Tray Notify Icon with balloon Example


    Use links below to download source codes of this example as well as binary files:

Delphi XE2 (x64)
BalloonTrayIcon-D16X64.zip
19.59Kb
3.8.287.331
09.05.2012
Delphi XE2
BalloonTrayIcon-D16.zip
17.92Kb
3.8.287.331
09.05.2012
Delphi XE
BalloonTrayIcon-D15.zip
14.75Kb
3.8.287.331
09.05.2012
Delphi 2010
BalloonTrayIcon-D14.zip
14.57Kb
3.8.287.331
09.05.2012
Delphi 2009
BalloonTrayIcon-D12.zip
14.01Kb
3.8.287.331
09.05.2012
Delphi 2007
BalloonTrayIcon-D11.zip
13.86Kb
3.8.287.331
09.05.2012
Delphi 2006
BalloonTrayIcon-D10.zip
13.81Kb
3.8.287.331
09.05.2012
Delphi 2005
BalloonTrayIcon-D9.zip
14.91Kb
3.8.287.331
09.05.2012
Delphi 7
BalloonTrayIcon-D7.zip
14.78Kb
3.8.287.331
09.05.2012
Delphi 6
BalloonTrayIcon-D6.zip
14.67Kb
3.8.287.331
09.05.2012

  Top


Components | Download | Purchase | Support | About Us
Copyright © 2012 ALDYN Software. All rights reserved.
Copyright © 2001 - 2011 Shell+ Development Group. All rights reserved.