Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Delphi XE2 中使用 TTrayicon,我想知道是否有任何方法可以控制右键单击事件。我试过点击事件,但我做不到
您可以将事件处理程序分配给OnMouseUp。使用Button参数找出按下了哪个按钮。
将 a 关联TPopupMenu到 TrayIcon。
TPopupMenu