in gambas 2 the minimum size of a form is set by the size given at the desing...

2009/12/11 Werner <wd...@netfront.net>:
> How can I ensure a resizable form does not get smaller than a certain
> minimum?
> That won't work:
>
> Public Sub Form_Resize()
>  If Me.Width < 200 Then
>    Me.Width = 200
>   ' Stop Event
>  Endif
>  If Me.Height < 180 Then
>    Me.Height = 180
>  '  Stop Event
>  Endif
> End
>
> ...no matter if I use Stop Event or not.
>
> Regards
>
> Werner
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to