Results 1 to 4 of 4

Thread: Need animating lines

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    I need a square (of black lines) that decreases in size rapidly...

    A want it to decrease in width and height. But I want the top to stay where it is and the left to move (to the right) as fast as the width

    pfew... (basicly the animation that happens when you hit "save" in word 97)

  2. #2
    Guest

    Post

    I just put a shape on the formed, set the property to square, and used the following:
    Code:
    Private Sub Form_Click()
       Dim Count As Long
       Count = shpSquare.Width + shpSquare.Left
       While shpSquare.Left < Count
          shpSquare.Width = shpSquare.Width - 10
          shpSquare.Height = shpSquare.Height - 10
          shpSquare.Left = shpSquare.Left + 10
          shpSquare.Refresh
       Wend
       shpSquare.Visible = False
    End Sub
    Hope this helps.


    ------------------
    Boothman
    There is a war out there and it is about who controls the information, it's all about the information.
    [This message has been edited by Boothman_7 (edited 01-10-2000).]

    [This message has been edited by Boothman_7 (edited 01-10-2000).]

  3. #3
    Guest

    Post

    I have a button on my toolbox that allows me to add shapes. Must be an add-in. I have had it so long I am not sure where it is. I will research and get back to you.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    How do I put the shape on the form ??

    How do I declare the shape and set its property to shape (like this ? : shpSquare.Shape = vbShapeSquare)

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