[Gambas-user] Settings with VSplit control

Phạm Quang Dương soleilpqd at ...626...
Sat Dec 11 16:01:47 CET 2010


Hi,

How to save the layout of VSplit?
I tried:

SUB Form_Open()
vsplit1.settings = Settings["Group/Key"];
PRINT Settings["Group/Key"] ' (1)
PRINT vsplit1.settings ' (2)
END

Of course

SUB Form_Close()
Settings["Group/Key"] = vsplit1.settings
END

In running, (1) and (2) are different, all numbers in (2) are smaller than
(1). After some running, numbers in (2) decrease.

I tried Settings.Read(vsplit1.window) too but I think that it saves its
location and size, not its content layout.

Gambas 2.22.
Thanks!



More information about the User mailing list