黑莓:固定高度 VerticalFieldManager

发布于 2024-10-11 16:52:34 字数 299 浏览 5 评论 0原文

我有一个 VerticalFieldManager 作为父级。我添加了 一个 VFM 和将一个 HFM 添加到父 VFM。我希望将 VFM 添加到父 VFM 表现得像一个固定大小的 VFM 并且其中的内容应该被排序 仅在滚动时。应不断看到添加到父 VFM 的 HFM 在屏幕上。

简而言之,我必须在 BB 屏幕的底部显示一个工具栏。 我已经通过扩展 HFM 来显示工具栏创建了一个自定义类。 只有当我滚动位于中心的 VFM 时,我才应该能够 查看剩余内容。

任何人都可以给我一些想法或代码来实现这一点吗?

问候, 约格什·乔杜里

I have a VerticalFieldManager which acts as a parent.I have added
one VFM & one HFM to the parent VFM.I want the VFM added to the parent VFM
to behave as a fixed size VFM and the conents in it should be scolled
only on scrolling.The HFM added to the parent VFM should be constantly seen
on the screen.

In short i have to display a Toolbar at the bottom of the BB screen.
I have already created a custom class by extending HFM to display a toolbar.
And only when i scroll the VFM placed in the center i should be able to
see the remaining contents.

can any one give me some idea or code to implement this?

Regards,
Yogesh Chaudhari

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

╰つ倒转 2024-10-18 16:52:34

查看 主屏幕 和 setStatus 方法。他们应该做你想做的事。

Take a look at MainScreen and the method setStatus. They should do what you want.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文