0

I would like to place a control at the location and with the size of a rectangle.

I tried it like this:

Me.RichTextBox1.SetBounds(myRectangle)

However, there is no overloaded SetBounds that accept a rectangle. That really confuses me.

tmighty
  • 10,734
  • 21
  • 104
  • 218

1 Answers1

0

You can just set the bounds of the control instead:

Me.RichTextBox1.Bounds = myRectangle
LarsTech
  • 80,625
  • 14
  • 153
  • 225