[Gambas-user] window placement policy

Dominique Michel dominique.michel at ...3298...
Mon Feb 10 13:57:30 CET 2014


Le Mon, 10 Feb 2014 21:14:57 +1030,
Bruce <bbruen at ...2308...> a écrit :

> 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

Thanks, I will take a look at it when I get some time.

Dominique

> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list