> I need to create a Input-dialog. My Form has an input-field, an OK-button
> and a Cancel-button.
> First I have tried to call the form with frmDoDialog, but in this 
> way I only
> can determine, what button is clicked, but not the value of the 
> input-field.

Sure you can. Try this:

        frmP = FrmInitForm (YourInputDialogForm);
        // setup any field and control values on that form here          
        hitButton = FrmDoDialog (frmP);                         
        if (hitButton == YourInputDialogOKButton)
                // read any values from fields and controls here
        FrmDeleteForm (frmP);

Have Fun!
Claudio



-- 
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