[Gambas-user] Re-2: Form.resize event

jose julio vidal jj at ...1636...
Tue Oct 2 23:08:24 CEST 2007


Hi Fabien.

when you drag the window fails (sometimes) the event resize of the form.
Please, see the video. 

http://www.casaclaudio.com/gambeo/out1.ogg
Thanks!

El mar, 02-10-2007 a las 21:55 +0200, Fabien Bodard escribió:
> u?
> in gambas 2 ?
> 
> the minimum size is the size defined at the design for a resizable form
> 
> it's automatic
> 
> 
> 2007/9/28, jose julio vidal <jj at ...1636...>:
> >
> > the code:
> >
> > ' Gambas class file
> >
> >
> > PRIVATE min_height AS Integer = CInt(ME.Height)
> > PRIVATE min_width AS Integer = CInt(ME.Width)
> >
> >
> > PUBLIC SUB Form_Open()
> >
> > Label2.Width = min_width / 2
> > Label2.Height = min_height / 2
> > label2.x = (min_width / 2) - (label2.Width / 2)
> > label2.y = (min_height / 2) - (label2.Height / 2)
> > ME.center
> >
> > END
> >
> > PUBLIC SUB Form_Resize()
> >
> > 'message.Info("cambiando")
> > ME.Height = min_height
> > ME.Width = min_width
> >
> > END
> >
> >
> > regards!
> >
> >
> >
> > El vie, 28-09-2007 a las 09:30 +0000, smiefert at ...784... escribió:
> > > can you mail the plain code?
> > >
> > >
> > >
> > > -------- Original Message --------
> > > Subject: Re: [Gambas-user] Form.resize event (27-Sep-2007 21:23)
> > > From:    jj at ...1636...
> > > To:      gambas-user at lists.sourceforge.net
> > >
> > > > hi!
> > > > mmm...this code fails sometimes...please, test the example
> > > > (GNULinex/Gambas 1.9.50)
> > > >
> > > > regards!
> > > >
> > > >
> > > >
> > > >
> > -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > _______________________________________________
> > > > Gambas-user mailing list
> > > > Gambas-user at lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > >
> > > > To: gambas-user at lists.sourceforge.net
> > >
> > >
> > >
> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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