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.
我创建了一个 DateField 并将其添加到 screen1 上,如上图所示。用户可以从此日期字段中选择“时间”。我想保存这个“时间”并创建一个新的 DateField,在 screen2 上具有相同的“时间”
我怎么能做到这一点?
使用DateField.getDate()andDateField.setDate()方法。
DateField.getDate()
DateField.setDate()