[Gambas-user] Restoring position in an HSplit

Rolf-Werner Eilert eilert-sprachen at ...221...
Tue Nov 24 10:52:46 CET 2015


I've got an HSplit which fills the main area in my application.

The HSplit contains a TreeView on the left and a TabStrip on the right.

Of course, the HSplit makes one bar in the middle when running. When the 
program starts, the position of the bar is set to 50 % automatically. Of 
course, the user can grab it and slide it to another position once the 
program is running.

I would like to store this user position, but I do not find a property 
of HSplit for it. When I save TreeView.Width and try to set it when the 
program starts (Form_Open), it's overwritten.

What can I do?

Regards
Rolf





More information about the User mailing list