Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个正在为黑莓 OS 6 构建的应用程序。
我有一个由 Gridfieldmanager 和 Horizontalfieldmanager 组成的屏幕。Horizontalfieldmanager 底部包含 4 个图像按钮,当单击这些按钮时,我想基本上将 Gridfieldmanager 与另一个 fieldmanager 交换。这可能吗?
当然是!您可以使用theManager.replace(Field oldField, Field new Field)它们来交换它们。
theManager.replace(Field oldField, Field new Field)
替换文档