I am using FrmDoDialog to bring up a dialog form.  There is a field on
the form, FieldAddItem.  How do I set focus to that field?

[Sorry that this is in Pascal]

    //Learning about dialogs
    Form := FrmInitForm(FormAddItem);
    if FrmDoDialog(Form) = ButtonAdd then
      FrmCustomAlert(AlertBox, 'Add button pressed', '', '')
    else
      FrmCustomAlert(AlertBox, 'Cancel button pressed', '', '')

Todd


--
Todd Cary
Ariste Software
[EMAIL PROTECTED]



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