In my app I found that when the user selects the Date control garbage is
displayed.  If I compile (I'm using gcc) without -O2 option this does
not happen on the device.  Anyone seen this behavior before?

Thanks
Brian
Ps
I'm using gcc and palm 3.5 sdk.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of John
Leung
Sent: Monday, March 11, 2002 10:32 AM
To: Palm Developer Forum
Subject: Re: Problem - SelectDay()


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/


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

Reply via email to