[Gambas-user] window placement policy

Bruce bbruen at ...2308...
Mon Feb 10 11:44:57 CET 2014


On Mon, 2014-02-10 at 11:07 +0100, Johny Provoost wrote:
> Dominique,
>    Look at gb.settings.  With 'settings.write' you can save the position of
>    your window, with 'settings read' you can read it back.
>    You can do a lot more with settings:
>    [1]http://gambasdoc.org/help/comp/gb.settings/settings?v3&view

100% right! Every form we use has:

Public Sub Form_Open()
  Settings.Read(Me)
  etc..
End

Public Sub Form_Close()
  Settings_Write(Me)
  etc..
End

in it. gb.settings is so easy! And Like Johny says, you can do a lot
more.

Bruce









More information about the User mailing list