我正在努力添加一个简单的 popUpScreen,当您将鼠标悬停在黑莓中的 CustomButton 上时,其中包含文本信息。我已经看到这已经在 Twitter、Facebbok 等应用程序中实现,甚至在本机黑莓图片应用程序和许多其他地方也实现了。
澄清一下,我需要的是这样的东西 -
一只忙碌的猫 http://bit.ly/rh5gy7 < br>[popupscreen,如红色圆圈所示]
但是,我无法创建一个非模式且非 ui 阻塞的 PopUpScreen。
也就是说,即使正在显示弹出屏幕,我也应该能够将焦点移到调用 popUpScreen 的屏幕上。
谁能告诉我,也许用一些代码,如何实现这个!
感谢您的帮助!
I am working on adding a simple popUpScreen with a texual information when you hover over a CustomButton in BlackBerry. I have seen this already implemented in applications like Twitter, Facebbok and even in native BlackBerry pictures app and many other places.
To clarify, What i need is something like this -
a busy cat http://bit.ly/rh5gy7
[popupscreen as shown with a red circle]
But, I have not been able to create a PopUpScreen that is non-modal and non-ui-blocking.
That is, even when the popupscreen is being shown, I should be able to move focus on the screen that called the popUpScreen.
Can anyone tell me, perhaps with some code, as to how you can implement this!
Thanks for your help!
发布评论
评论(1)
上述内容可以通过使用 ToolBarManager 并添加 ToolbarButtonField 进入然后将字符串设置为 工具提示 将充当弹出屏幕,如上图所示。 ToolBarManager 仅适用于 OS 6.0 和 abob
如果您打算在旧版 BlackBerry 操作系统中使用此功能,这里是一个很好的教程,其中包含示例资源。
感谢 Ray Vahey 的帮助!
The above can be achieved by making use of ToolBarManager and adding ToolbarButtonField into it and then setting a string as tooltip which will act as a popupscreen as shown in the above picture. ToolBarManager is available only in OS 6.0 and abob
If you intend to use this feature in older OS versions of BlackBerry, here's is a nice tutorial with sample resource.
Thank you Ray Vahey for your help!