带菜单的FireMonkey托盘图标 [英] FireMonkey tray icon with a menu

查看:146
本文介绍了带菜单的FireMonkey托盘图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

继续从去年开始最喜欢的问题,随着Delphi XE3(Firemonkey 2)的发布,无论是成熟的OS还是iOS,在任何平台上仍然模糊支持小托盘图标.

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.

假设我们使用依赖于平台的代码创建一个任务栏图标.您将如何单击"该图标以接收FMX HD表格(可能是菜单或更多的Hi-Fi体验)?有一些棘手的事情需要克服,请考虑一种无需在应用程序外部安装OS支持的方法,例如ActiveX/DCOM组件...:-)

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... :-)

干杯!

推荐答案

不确定是否要查找现有组件来执行此操作,或者自己确定如何执行此操作.如果是前者,则ApeSuite FM组件 http://arcana.sivv.com/apesuite/跨平台的TrayIcon组件,可转换为OSX上的菜单栏.

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.

这篇关于带菜单的FireMonkey托盘图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆