如何在黑莓风暴中滚动包含大量数据的标签字段
我有一个包含一个标签字段的屏幕 其中包含大量数据,
我已将该标签放入垂直字段管理器中,但我仍然无法滚动。
可能是什么原因,
我搜索并尝试了很多方法但没有成功。
有人告诉我放置空字段 或使用许多标签等,但该怎么办???
i have a screen that contains one label field
which contains lots of data
i have placed that label filed inside the vertical field manager but still i cannot scroll.
what could be the possible reason
i searched and tried many ways but no success.
some told me to place null fileds
or use many labels etc but what to do???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嘿,一旦我遇到同样的问题
,为什么不尝试使用编辑字段。
它将
使用
“使其成为焦点”和“只读”自动滚动,并将其添加到具有 VERTICAL_SCROLL(以及可能的 VERTICAL_SCROLLBAR)的 VerticalFieldManager。 TextField 及其后代可以在字段内拥有焦点(光标)。这就是让用户滚动它的方式。
hey once i faced the same problem
why don't you try using Edit field.
It will scroll automatically
use
Make it FOCUSABLE and READONLY and add it to a VerticalFieldManager with VERTICAL_SCROLL (and potentially VERTICAL_SCROLLBAR). TextField and its descendants can have the focus inside the field (the cursor). That is how you let the user scroll it.