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

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to