Search code examples
delphisystem-traytrayicontray

TrayIcon right click event


I'm using a TTrayicon in Delphi XE2, and I was wondering if there is any way to control a right click event. I've tried with the click event, but I couldn't


Solution

  • You can assign event handler to OnMouseUp. Use Button parameter to find out which button was pressed.