Results 1 to 3 of 3

Thread: Delay

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84

    Question

    How do I make a delay function (e.g like the one in Pascal) ??

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Add this to the top of your form:
    Code:
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds as Long)
    To use, just call Sleep(100) to sleep for 100ms.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84

    Thanks

    Thank you

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