You are right. CtlGetLabel does return a pointer to the control's label
text, but not the text. I was able to do a StrCopy to save it to a char*
variable at the ctlSelectEvent. However, If I do the same thing outside of
this event, I don't get the label text (of 8/7/01). Instead, I get
something like "@s...".
-Elizabeth
"Scott Johnson (Bellevue)"
<[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 02:58 PM
Please respond to Palm Developer
Forum
> From: [EMAIL PROTECTED]
> 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().
Eh? My copy of the 4.0 doc doesn't say that. CtlGetLabel does always
return a pointer to the control's label text, for those control types that
do have a text label. (Which is all but graphical controls and sliders.)
-slj-
--
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
- Re: Question on CtlGetLabel() Mark Smith
