문제

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

도움이 되었습니까?

해결책

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

다른 팁

Associate a TPopupMenu to the TrayIcon.

http://i.stack.imgur.com/nkEvb.png

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top