开发者

safe form layout user preferences

开发者 https://www.devze.com 2023-03-11 19:42 出处:网络
When my software runs some forms appear and user can expand or close or minimize them. I want to save u开发者_StackOverflow中文版ser changes(all close,minimize and expand)for user .How is it possible

When my software runs some forms appear and user can expand or close or minimize them. I want to save u开发者_StackOverflow中文版ser changes(all close,minimize and expand)for user .How is it possible to save user preferences?


In windows, you can save these settings into registry for user.

Preferences.userRoot().put("User_settings", "some settings");

The first argument is key, the second value. But this works under Windows only!

Nice solution is also saving of these settings into config file for each user (don't know if this si possible for you, don't know architecture of your program).

0

精彩评论

暂无评论...
验证码 换一张
取 消