--- Vineet Gupta wrote:
> can u send me a sample code for a button event. where in 
> the code we write the the button event code.

In the big switch statement in your form event handler, add a case for
ctlSelectEvent like this:

case ctlSelectEvent:
  if ( eventP->data.ctlEnter.controlID == YourButtonID )
  {
    // insert code to do whatever 
    // you want to do when the button is pressed

    handled = true;
  }
  break;


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to