> i have a question lets say i want to do a CtlGetLabel from a date select
> trigger.
>
> Right now i am doing this...
>
> frmP = FrmGetActiveForm();
> controlP = (ControlPtr)FrmGetObjectPtr(frmP, FrmGetObjectIndex (frmP,
> PayingBillsDateSelTrigger));
> dateTriggerText = (CharPtr)CtlGetLabel(controlP);
>
> and when i print out dateTriggerText I get a value of  "k8". nothing
> resembling the date that is displayed on the date selection trigger. what
> could be the problem?

This is not the way to read a popup list. You have to handle popSelectEvents
in your event loop.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to