LWUIT 中的命令

发布于 2024-12-04 14:59:14 字数 70 浏览 0 评论 0原文

如何在 lwuit 表单的页脚处单行添加 2 个以上命令,假设我想在单行中添加返回、选择和退出命令,我该怎么做?帮忙举个例子。

How to add more than 2 command in a single row in at the Footer in lwuit Form ,suppose I want to add Back,Select,and Exit Command in a single row,how can I do that? Help with some example.

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

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

发布评论

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

评论(3

ㄖ落Θ余辉 2024-12-11 14:59:14

使用 Display.getInstance().setThirdSoftButton(true); 显示三个软按钮。

Use Display.getInstance().setThirdSoftButton(true); for showing three softbutton's.

万劫不复 2024-12-11 14:59:14

您还可以编写 your_Form.setDefaultCommand(the_command_in_the_middle);

You can also write your_Form.setDefaultCommand(the_command_in_the_middle);

淡写薰衣草的香 2024-12-11 14:59:14

我注意到在资源编辑器中将 commandBehaviour 设置为 SoftKey 会使所有命令在一侧对齐,典型的黑莓行为,也适用于诺基亚。它是资源编辑器中主题常量之一的属性。

I noticed that setting commandBehaviour to SoftKey in the resource editor makes all your commands align on one side, typical blackberry behaviour, works on nokia also. It is a property of one of the constants of the theme in the resource editor.

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