Is this the correct way to read the text displayed within a button?

Thanks.

ctl = GetObjectPtr(DateTimeTimeButton);
if (ctl) {
  str2 = (char *) CtlGetLabel(ctl);
       
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to