The Form routines. FrmGetObjectPtr. ----- Original Message ----- From: "David McNab" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 8:33 AM Subject: Help - getting field text from field ID??
> Hi, > > I'm coding a function which needs to return the text contents of a > field, given only the field ID. > > The FldGetTextPtr() function reqires the field ptr as an argument, which > makes life hard. > > (For reasons which take too long to explain, there's no way of passing > the function the field's pointer). > > While there are Form functions to convert between Form ID and Form > pointer, there's nothing equivalent for fields. > > How can I, given just the field ID, find out the field's pointer, then > get the field's text value? > > (If necessary, I can also pass the function the form pointer or ID for > the form that contains the field). > > Thanks for help > > David > > > > -- > 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/
