Paul -
Thanks for the rapid reply. Unfortunately, I have one more problem. (Only
one, yeah... sure.... ;-)
The compiler (GCC) doesn't like "Word", "VoidHand", or "VoidPtr." I
currently have <PalmOS.h> and <SysEveMgr.h> in my #include(s). I've
searched the FAQ and KnowledgeBase (yes, I'm researching before posting -
trying to be a good citizen). But haven't been able to find (yet) what
else needs to be in the #include. <MemoryMgr.h> doesn't have these guys in it.
Again, asking for assistance.
TIA.
At 07:41 AM 02/19/2001 -0800, Paul wrote:
>Use LstGetSelectionText to the text of a list item.
>
> pObj1 = GetObjectPtr(pForm, iListID)
> LstGetSelectionText(pObj1, iSelection) // Returns a pointer to the list
>text
>
>
>Then use a function like the following to place the text into your field
>
>static void SetFieldText(Word FieldId, char *Str) {
>
> VoidHand hTextNew;
> VoidHand hTextOld;
> VoidPtr pField;
> FormPtr pForm;
> FieldPtr fpField;
[rb}
http://www.randybrown.net
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/