Hello All,

I need to be able to break out of a loop that startes from within an
EventHandle function but have been unsuccessful in figureing this out.  Here
is the pseudo code;

case MainFormButton :   while( not end if database  and  NotRecord we seek){

                                                 getNextRecord(database);

                                                 if( Record is correct
one ){

                                                            EndRecordSearch
= True;

                                                }

                                                if
 MainFormCancelSearchButtonPressed == True){

                                                            EndRecordSearch
= True;
                                                            UserCancel =
True;

                                               }

                                        } /* end while loop */



The crux here is how do you intercept an Event when you are already inside
of an Event Handler?


Thanks,

Jason


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to