Thx... but...

The Main Form has some buttons visible even when the info form is open. If i click on an area outside the smaller info form, (on the main form behind) the button reacts on this after the delay is over. How do I stop this?

(Thanks for the SysTaskDelay... Could have used that a while ago ;o)

/morten

jimrandomh wrote:
Morten Schmidt wrote:

I have the following for at poll program:

[snip]
UInt32 init = TimGetSeconds();
while (TimGetSeconds() < init+3)
{
    // Do absolutely notihng. Busy-wait loop...
}
FrmReturnToForm(0);
[snap]


Don't do this! Idle loops waste batteries. Instead use
   SysTaskDelay( 3*SysTicksPerSecond() );


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to