Le 24/10/2014 12:10, Tobias Boege a écrit : > Hi list, > > did anyone succeed in restricting a window to minimum dimensions, like "my > window shall not be smaller than (w,h) = (100,100)". > > I tried quite some variations of the same idea: > > Private $iMinW As Integer > Private $iMinH As Integer > > Public Sub Form_Resize() > Me.W = Max(Me.W, $iMinW) > Me.H = Max(Me.H, $iMinH) > End > > but they have no effect at all on my system. On anyone else's? Is this not > supposed to work? > > Regards, > Tobi >
It's only internally supported for modal windows: the initial size of a modal window becomes automatically its minimal size. -- Benoît Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
