Did you initialize thisDay.month, etc... to a valid date first?  If not, 
you'll get an error.


On 11 Mar 2002 at 10:22, Edward P. Ross wrote:

> Running the code below (Date Picker), I get the error:
> 
> application called SysFatalAlert with the message: "Form.c. Line 1728,
> Object not in form".
> 
> on the if(Select... line.
> 
> I found this example on Palm's website, - have I missed something?
> 
> Thanks,
> Ed.
> 
> DateTimeType thisDay;
> 
>  switch (command) {
>   case PickDateButton:
>    if(SelectDay(selectDayByDay, &thisDay.month, &thisDay.day,
>    &thisDay.year,"Date")) {
>     ...
>     ...
>     ...
>    }
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> 


John Leung
[EMAIL PROTECTED]
http://persweb.direct.ca/jleung


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

Reply via email to