Recent

Author Topic: TrayIcon Baloons - is formated text possible?  (Read 2775 times)

JD

  • Hero Member
  • *****
  • Posts: 1848
TrayIcon Baloons - is formated text possible?
« on: March 09, 2011, 02:03:04 pm »
Hi there everyone,

I would like to know if it is possible to have formated text in a TrayIcon baloon. I'm thinking of adding label text with bold, italic properties.

I also need to know if I can add underlined label text in the baloon so that when clicked triggers an action.

Thanks.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Dibo

  • Hero Member
  • *****
  • Posts: 1048
Re: TrayIcon Baloons - is formated text possible?
« Reply #1 on: March 09, 2011, 04:11:44 pm »
TrayIcon uses TPopupNotifier component (you can find it in "Common Controls") as baloon hint. TPopupNotifier have private form TNotifierForm which inherit from THintWindow. You can create own popup by inheriting from THintWindow and add own custom labels and others visual components. I created own baloon hint by this way.

 

TinyPortal © 2005-2018