Results 1 to 5 of 5

Thread: ****----Animated Objects on forms----****

  1. #1

    Thread Starter
    Lively Member mykg4orce's Avatar
    Join Date
    Oct 2000
    Location
    CANADA
    Posts
    92

    Exclamation

    i am designing a form, but i need to spice it up. and so i was wondering if it is possible to move buttons or labels accross the form and have like a animation. please help!!

  2. #2
    Guest
    Take a look at this thread to give smooth animation to controls.

  3. #3
    Guest
    Add the following to a Form with a Timer and CommandButton. This will make the button move across the screen.
    Code:
    Private Sub Form_Load()
        Timer1.Interval = 1
    End Sub
    
    Private Sub Timer1_Timer()
        Command1.Left = Command1.Left + 100
        If Command1.Left > Me.Width Then
            Command1.Left = 0 - Command1.Width
        End If
    End Sub

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    more info

    Maybe you should tell us how you want to move the controls?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Lively Member mykg4orce's Avatar
    Join Date
    Oct 2000
    Location
    CANADA
    Posts
    92

    thanks a lot guys

    the easiest is the timer control method, thanks again

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