Use a custom event handler.  This will pass events such as penDownEvent for
you to handle or leave go before the system receives them.

The code would look something like this:

  frmP = FrmInitForm(frmDialog);
  // initialize the form here
  FrmSetEventHandler(frmP, &CustomFormEventHandler)
  FrmDoDialog(frmP);

Your custom event handler would have the form:

  Boolean CustomFormEventHandler(EventPtr eventP) {
    Boolean handled = false;
    // etc...
    return handled;
  }

Much like the main form event handler.  In this event you would have to
capture whatever event you're interested in and process it.  Every other
event you ignore and return false.

-- 
Tim Kostka
http://www.nuprograms.com



> Then what should I call so that I can change a labels text on the form
with
> a press of the button?



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

Reply via email to