What's new

[VB] Resize Form With Button?

R

rohly

rohly420
Retired
Messages
3,502
Reaction score
1,422
Yeah Im building a program that when you click a buttonit will collapse into a small square so it doesntget in your way. Is it possible to resize it? I tried Form1.Size = "30,30" Also Form1.Size = 30,30 Is it possible to resize it?
 
S

SotG Caboose

Getting There
Messages
1,448
Reaction score
687
Me.Size = new Size(10, 10)
 
R

rohly

rohly420
Retired
Messages
3,502
Reaction score
1,422
also how do you move a button? Like button1.location = "0,0"

Oh btw i used this and found it:
Me.Width = "50"
Me.Height = "50"

And I found that right before you posted above.
 
Top Bottom