質問

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