Results 1 to 4 of 4

Thread: Form_Move()

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    Is there a different method to "create" a Form_Move event different than subclassing?

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    ???

    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

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    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

  4. #4
    Lively Member
    Join Date
    Mar 2000
    Location
    Germany
    Posts
    84
    take a look at this post, maybe it's what you need

    http://forums.vb-world.net/showthrea...threadid=17866

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width