I have been trying to get this function to pop up a day selection menu that
is pop upped when the user selects a field. I have succesfully trapped the
fldEnterEvent and called SelectDay(). But once the user selects a date the
function comes back and gives me a memory access.
The sniglet of code that I am using is:
case fldEnterEvent:
if(eventP->data.fldEnter.fieldID==ConfigurationLastField){
// The last battery replaced field has been entered.
DateSecondsToDate(TimGetSeconds(),&Today);
month=Today.month;
year=Today.year+1904;
day=Today.day;
StrPrintF(msg,"Selection Title");
if (SelectDay(selectDayByDay,&month, &day, &year, msg)){
DateToAscii(month, day, year, dfMDYWithSlashes, msg);
}
handled=true;
}
break;
Thanks for any suggestions.....
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/