Werdwed Sectional Moderator
Posts : 4 Join date : 2012-04-08
| Subject: {Tut.2.0}(Schylar's Visual Basic Guide) Sun Apr 08, 2012 11:44 pm | |
| Hey Second section starting on a new subject. Moving! how to move things and what not! The way I move objects is to use the .top or .left property Lets try itTextbox1.top = 100 Textbox1.left = 100Now when are you ever going to use this... The Meaning of LifePublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Button1.Top = 100 End Sub Private Sub Button1_MouseEnter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.MouseEnter If Button1.Top = 100 Then Button1.Top = 200 ElseIf Button1.Top = 200 Then Button1.Top = 100 End If End Sub End Class -- Genius = Majestic Falcon + WerdwedSerials.Guro:DNeed a Serial? Hit me up | |
|