I've had a look through the archives of this list and see examples of people
saying "Don't ever try to use frmPopupForm.. it's terrible!".
Which would be fine if I could use frmDoDialog. But my form has TWO buttons on
it. One graphic button and the other "OK" button. frmDoDialog exits whichever
button you press instead of letting me capture the graphic button event and do
something.

FrmDoDialog won't exit if you set your own form event handler... here's the standard form template


FrmInitForm
FrmSetEventHandler
FrmDrawForm
...setup form controls...
FrmDoDialog
...read controls...
FrmDeleteForm

just returned handled as true for the buttons where you don't want the button press to close the form from the dialog's handler.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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

Reply via email to