Form control resizing

S

Shane

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
 
W

William Ryan

Shane:

Check out the Anchor and/or Dock properties of the control, and be glad you
aren't using VB6 anymore
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top