Hy,
Ok, I know what you mean, but I have to make a big piece of code that works in 
a loop.
My application has a start and a top button. 
At a tap on the StartButton a call my function that works with a loop, and if I 
tap on the StopButton -> I should stop my loop and return. My question was how 
do I catch this event? 

My current code -> obviuosly is not working - because to get the StopButton 
event it should first exist the loop... :-(
I'm now trying to find something relevant in the threading code... should I 
create a second thread? 
I found few lines of code where to create this kind of event trapping was 
created a custom event in the MainFormHandleEvent function. But it's not very 
helpful :-( Any tips??

Does anyone have some ideas? 

Regards, Iulia

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

Reply via email to