tray icon control

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34832
    cyberhound
    Participant

    that is def needed

    #46935
    Support
    Keymaster
    'cyberhound' wrote:

    that is def needed

    But such components exists already?

    #46949
    cyberhound
    Participant

    cool tray icon

    almdev stuff has it

    is that what u were asking?

    #46953
    Hamilton
    Participant

    Delphi 2010 has a TTrayIcon which I think was introduced in 2009. If you have an older version of Delphi then you'll find that Jedi and many other vendors provide free tray icon controls. The only part of a TTrayIcon that is visible is the icon in the tray, which will not be skinned anyway, so there is little advantage to having an ac version of that. The popup menu associated with the tray is another matter – TPopupMenu could be skinned but isn't currently.

    #46972
    cyberhound
    Participant

    im on D7

    and the problem about using third party is that when restoring app from tray skin gets all twisted

    thats why is important to have a working tray icon on alpha skins

    #46973
    Hamilton
    Participant

    I *think* you're saying that you had a tray icon control but when you used it to show your application the skin was not displayed properly? If that is the case you might be able to fix it by trying the following one step at a time until the problem goes away:

    1. Add a TsSkinProvider to your app main form if you haven't already.

    2. Comment out everything in your form Create/Destroy/Show/Close/Activate/Deactivate events and see if the problem persists.

    3. Change the events on the TrayIcon control to Hide/Show your form rather than performing some animation event.

    4. In your FormShow event, reinitialize the skin manager. Try just setting the skin eg SkinManager.Skin := 'WEB (internal)'.

    5. Download the Jedi VCL library and use their tray icon.

    Good luck.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.