Is there a different method to "create" a Form_Move event different than subclassing?
Printable View
Is there a different method to "create" a Form_Move event different than subclassing?
not sure what you are after ..
this example moves a form..you can move it
as well by accessing the form.left and form.top
values...perhaps this will help...maybe it won't..
'appearance of drawing the form on to the screen
Private Sub Form_Load()
Form1.Caption = "Form Move"
Form1.Height = 0
Form1.Width = 1680
Timer1.Interval = 200
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
On Error Resume Next
For x = 0 To Form1.Height + 10000
Form1.Height = x
Next x
For y = 1680 To Form1.Width + 10400
Form1.Width = y
Next y
Timer1.Enabled = False
End Sub
I meant the Form_Move event. Like when you resize the form you launch Form_Resize event or when the form is activated the Form_Activate is launched. Hope you know what I mean
take a look at this post, maybe it's what you need
http://forums.vb-world.net/showthrea...threadid=17866