how can i relate with the event handler to do the following job in my 
function...

*****************************************************************
setFieldText(8001," /*some text print out here*/ "); 

if( event->eType == ctlSelectEvent ) 
{ 
   FrmGetActiveForm();

   //a button was clicked 
   if(event->data.ctlSelect.controlID == 8002)   
   { 
      setFieldText(8001,"/*replace previous text with this one*/");
      
      //same button clicked again
      if(event->data.ctlSelect.controlID == 8002) 
      {
         setFieldText(8001,"/*replace previous text with this one*/");
      } 
   } 
} 
******************************************************************
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to