Resize Control
Page 1 of 1
Resize Control
#4
Posted 12 February 2009 - 09:44 PM
Private Sub form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize button1.top = form1.bottom - button1.height - 10 button1.left = form1.width - button1.width - 10 End Sub
this is very basic, but think of it like this...
the top of button one is at the "height" aka the bottom of the form1 but then move it up the height of the button and 10 extra to put the button at the bottom...
and I think you can figure the rest out!
try google next time, and good luck!
Page 1 of 1

Add Reply





MultiQuote

| 


