[Gambas-user] How Settings.Read works?
adamnt42 at gmail.com
Thu Sep 29 15:01:05 CEST 2022
On Thu, 2022-09-29 at 13:19 +0200, Benoit Minisini wrote:
> Settings class has special support for windows (and controls having a
> Settings property).
> So, for windows, you just have to write 'Settings.Write(Me)' to save
> geometry, and 'Settings.Read(Me)' to restore it.
> You can't use the default value argument in that case, as you can't
> guess the format used for storing the window data.
Maybe I have misunderstood this for years. I thought that the property
involved was the
Layout property. I have used that property in many custom grid controls
to save and
restore the user's choice of column widths.
Can I save more than just the layout by creating a more complex
Settings property (and if so, how?)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User