Results 1 to 3 of 3

Thread: Timer or Dp Loop?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350
    Could anybody tell me the dis/advantages of both methods

    a) using vb timer

    b) using win timer (probably need to subclass)

    c) using x = Timerooevents:Loop While x + 5 > Timer ?



    --

    Rather to store variables in arrays or in objects.tag property?

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    b) is like a), but more reliable time-wise. c) is pretty useless, as it is synchronous (locks the thread until the timer goes).
    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
    Guest
    Originally posted by Jhd.Honza
    Rather to store variables in arrays or in objects.tag property?
    If the variable in the Tag is directly related to the object (i.e: in a For Each Loop) then you should use the Tag, otherwise I recommend to not use them.

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