FireMonkey tray icon with a menu

送分小仙女□ 提交于 2019-12-12 03:45:55

问题


Continuing the favorite question from last year, and with Delphi XE3 (Firemonkey 2) out there is still vague support for the silly little tray icon, on any platform whether it's full-fledged OS or iOS.

Suppose we have a tray icon by using platform-dependent code. How would you "click" that icon to receive an FMX HD Form (perhaps a menu or a more hi-fi experience)? There are a few tricky things to overcome, and please think of a way to do so without installing OS support outside of the application, such as ActiveX/DCOM component... :-)

Cheers!


回答1:


Not sure if you're looking for an existing component to do this, or working out how to do it yourself. If the former, the ApeSuite FM components http://arcana.sivv.com/apesuite/ have a cross-platform TrayIcon component that translates to the Menu Bar on OSX.



来源:https://stackoverflow.com/questions/14930831/firemonkey-tray-icon-with-a-menu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!