View Full Version : lzTimer
epopov
01-22-2004, 07:59 AM
Hi,
I have method with parameters, for example
canvas.foo(bar1,bar2), and I want to call it after 1 second. How to perform this?
Thanks
antun
01-22-2004, 10:08 AM
See here for how to call a method after a fixed amount of time:
http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=138
However you can't pass arguments to a method when it's called by a delegate (that feature has been requested). What you can do is to call a method that works out the arguments and then calls the desired method with them.
-Antun
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.