Quantcast
Channel: Delphi Forum - Delphi Programming Kings of Code - Delphi Components
Viewing all articles
Browse latest Browse all 1331

TSxTrayIcon + Shell D6-XE8

$
0
0
 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: [td]
PHP Code:
[code]
[
font][b]procedure[/bTForm1.Button1Click(SenderTObject);
[
b]begin[/b]
  
SxTrayIcon1.ShowCustomInfo([font]'The Shell+ Demo'[/font],[font]'Shell+'[/font],niifInfo);
[
b]end[/b];[/font]
[/
code
[/td]
        To test the example simply run it. Press the button and you will see our ToolTip:

İmage


Viewing all articles
Browse latest Browse all 1331

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>