黑莓:触摸时屏幕不滚动
我正在构建一个 BlackBerry Java 应用程序,并且希望当我在触摸时拖动手指时滚动屏幕。此行为在我实现 ListField 的其他屏幕上完美运行。但是,在我遇到问题的屏幕上,我将 FullScreen 子类化,并简单地将一系列 BitmapFields(具有 Field.NON_FOCUSABLE 样式)和 RichTextFields(具有 Field.FOCUSABLE 样式)添加到屏幕的主 VerticalFieldManager 中。我已将屏幕样式设置为 Manager.VERTICAL_SCROLL,并且在使用导航板时滚动效果很好。只有在触摸事件上滚动才不起作用。
关于如何纠正这个问题有什么想法吗?谢谢。
I am building a BlackBerry Java application and I want my screen to scroll when I drag my finger on touch. This behavior works perfectly on other screens where I am implementing a ListField. However, on the screen where I am having an issue, I am subclassing FullScreen and simply adding a series of BitmapFields (with Field.NON_FOCUSABLE style) and RichTextFields (with Field.FOCUSABLE style) to the screen's main VerticalFieldManager. I have set the screen style to Manager.VERTICAL_SCROLL and scrolling works fine when using the navigation pad. It is only on touch events that the scrolling does not work.
Any ideas on how to correct this? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一旦在文本字段中检查 Focusble 或 nonfocusble
once check Focusble or nonfocusble in the textfield