Sebastian,

GetObjectPtr() is in the sample projects but it is just defined to call:
        frmP = FrmGetActiveForm();
        return FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, objectID));

Yes, FldSetTextPtr() is for non-editable fields. For fields editable by the user, I've never had any problem letting the system handle the user's tapping on the field to select it and letting the user write in the text. The text should appear in the field as he's writing. Of course this assumes the form has been initialized and drawn so your field object is available.
frmP = FrmInitForm(YourFormId);
FrmSetActiveForm(frmP);
FrmSetEventHandler(frmP, YourFormHandleEvent);


and YourFormHandleEvent() gets the frmOpenEvent and calls FrmDrawForm(frmP).

Lorraine

At 07:55 PM 11/22/2004 +0000, you wrote:
Thanks for the fast reply. But...

Are you meaning FrmGetObjectPtr? GetObjectPtr don't exists. But even with FrmGetObjectPtr I get an error. Also I've read in the API-reference that FldSetTextPtr is for noteditable fields.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


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

Reply via email to