1 second pause

Discuss OrbForms Designer and PocketC Architect

Postby trajecto on Mon Jan 20, 2003 7:28 pm

I want to place a one second pause between a couple events.


gameForm.timer(100);


Did not seem to work, is there something else I need to do?

-Thanks
Chris
trajecto
 
Posts: 51
Joined: Wed Aug 21, 2002 1:53 am
Location: USA

Postby troyk9 on Mon Jan 20, 2003 9:14 pm

I want to place a one second pause between a couple events.


gameForm.timer(100);


Did not seem to work, is there something else I need to do?

-Thanks
Chris

gameForm.timer(100) just Sets a timer to be fired after 100 ticks or 1 sec.
You still need to set an ontimer event to occur after those ticks expire.
ex.
handler gameForm.onopen() {
gameForm.timer(500);
}
handler gameForm.ontimer() {
label112.text="Start";

upon opening this form - the timer will tick for 5 secs then set off the ontimer event. In this case the text of lael112 will change from label112 to Start.
I hope this helps
I'm kinda new at this stuff myself

Michael
}
troyk9
 
Posts: 40
Joined: Mon Sep 23, 2002 12:51 am
Location: USA

Postby trajecto on Wed Jan 22, 2003 3:22 am

Thank you Michael!

That is what I needed to know :D
trajecto
 
Posts: 51
Joined: Wed Aug 21, 2002 1:53 am
Location: USA


Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 4 guests

cron