黑莓 - 如何将字段添加到列表字段?

发布于 2024-08-09 07:44:06 字数 419 浏览 2 评论 0原文

我正在使用 ListField 但遇到问题。我怎样才能按我的意愿查看它(而不是一一查看)?
例如,有item1、item2、item3。我可以直接从 item1 跳转到 item3 而忽略 item2 吗?

换句话说,如何将文本字段(例如标签字段)插入到 ListField 项中?

像这样:

项目1
文本标签
项目2
项目3
......

让我用另一种方式描述它:

即如何将文本字段(例如标签字段)插入到ListField 项中。像这样:项目1 a textlabel item2 item3 ..


让我用另一种方式描述它:

即如何将文本字段(例如标签字段)插入到 ListField 项中。 像这样:项目1
文本标签 项目2 项目3 ......

I am using ListField but encouter a problem. How can i view it as i wish (not one by one)?
For instance, there is item1, item2, item3. Can i jump from item1 to item3 directly, ignoring item2 ?

In another way, how to insert a text field (a labelfield, for example) into the ListField items?

like this:

item1
a textlabel
item2
item3
......

let me describe it in another way:

that is, how to insert a text field(a labelfield,for example) into the ListField items. like this: item1
a textlabel item2 item3 ..


let me describe it in another way:

that is, how to insert a text field(a labelfield,for example) into the ListField items.
like this: item1
a textlabel
item2
item3
......

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

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

发布评论

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

评论(1

如果没结果 2024-08-16 07:44:06

ListField 更像是演示/选择控件。您可以在 ListField 内实现自定义布局/绘制逻辑,例如 rtm4bb 中的示例:
替代文本
(来源:googlecode.com

但我不知道如何将不同的控件添加到ListField中。在这种情况下,我建议使用带有添加字段的 VerticalFieldManager。

ListField is more like presentation/select control. You can implement custom layout/draw logic inside ListField, on example like in rtm4bb:
alt text
(source: googlecode.com)

But I dont know the way to add different controls into ListField. In such case I would recommend to use VerticalFieldManager with added fields.

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