That is not what i was looking for...
the way the code work is, it looks at the current form size and changes the
internal control to fit the max size of the form.. there is other thing on
the form so i cant have it the for size of the form
Shane
"William Ryan" <do********@nospam.comcast.net> wrote in message
news:ur**************@TK2MSFTNGP09.phx.gbl...
Shane:
Check out the Anchor and/or Dock properties of the control, and be glad
you aren't using VB6 anymore
"Shane" <as******@georgeandgabe.com> wrote in message
news:uw**************@TK2MSFTNGP12.phx.gbl... I have this code that resizes a form control. i want to be about to do
something like that in .net. the other version is in vb 6...
here is the code
Dim hgt As Single
hgt = ScaleHeight - wbrURL.Top
If hgt < 120 Then hgt = 120
wbrURL.Move(0, wbrURL.Top, ScaleWidth, hgt)
the ScaleHeight is not used in vb.net. can you tell me what the vb.net
name is for this please..
Shane