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 = Timer:Do:Doevents:Loop While x + 5 > Timer ?
--
Rather to store variables in arrays or in objects.tag property?
Printable View
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 = Timer:Do:Doevents:Loop While x + 5 > Timer ?
--
Rather to store variables in arrays or in objects.tag property?
b) is like a), but more reliable time-wise. c) is pretty useless, as it is synchronous (locks the thread until the timer goes).
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.Quote:
Originally posted by Jhd.Honza
Rather to store variables in arrays or in objects.tag property?