I was able to get the text out of the label (using StrCopy) only at the
ctlSelectEvent. It was "@..." at other time.
-Elizabeth
Igor Mozolevsky
<[EMAIL PROTECTED]> To: Palm Developer
Forum
Sent by:
<[EMAIL PROTECTED]>
bounce-palm-dev-forum-8072@news. cc:
palmos.com Subject: Re: Question
on CtlGetLabel()
08/07/01 10:03 AM
Please respond to Palm Developer
Forum
--On 07 August 2001 09:10 -0700 [EMAIL PROTECTED] wrote:
> According to the Palm OS API Reference documentation, CtlGetLabel() does
> not return the text from the label, for example, from a Selector Trigger
> control, if the label was set from CtlSetLabel(). Then what is this API
> function really for? And how can I save the label text to the database?
You are correct. It does not return the label itself, instead, it returns a
pointer to the text of label. To write it to a database, try DmStrCopy...
IM :-)
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- Question on CtlGetLabel() Chang . Elizabeth
- Re: Question on CtlGetLabel() Igor Mozolevsky
- RE: Question on CtlGetLabel() Chang . Elizabeth
- RE: Question on CtlGetLabel() Scott Johnson (Bellevue)
- RE: Question on CtlGetLabel() Peter Epstein
- RE: Question on CtlGetLabel() Chang . Elizabeth
- RE: Question on CtlGetLabel() Chang . Elizabeth
- RE: Question on CtlGetLabel() Igor Mozolevsky
- RE: Question on CtlGetLabel() Chang . Elizabeth
- RE: Question on CtlGetLabel() Igor Mozolevsky
- RE: Question on CtlGetLabel() Chang . Elizabeth
- Re: Question on CtlGetLabel() Mark Smith
- Re: Question on CtlGetLabel() Chang . Elizabeth
