[Gambas-user] Window minimum dimensions

Tobias Boege taboege at ...626...
Fri Oct 24 12:10:01 CEST 2014


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




More information about the User mailing list