Basically, as far as I can tell (allowing for the fact that my emulator
seems to produce some screen artifacts and to not update properly)
the code does absolutely nothing.  There is a screen response, but after
the blurred area appears near the top, nothing.

One othere question (please):

I am still having trouble with another very basic activity.  I can get a
form to load,
but only if I call it from the main menu (main form menu) response table.
If I use the
following code in the main menu, linked to an "about form" menu item, I get
the
about menu form.  If I use this in a form that is called after the main
menu, I get no
response.  The form I've called from the main menu remains where it was.

I've already checked to make certain the form with the menu item that has
the problem
is NOT modal, so the about form should stack on top of it.

I'll be happy to send you my files, if you think it will help.  This is
essentially a training exercise
in which I'm trying to learn this material by doing something self-directed,
rather than
mindlessly copying text in a tutorial.  (I have reviewed the tutorials, and
I have gotten a
reference book on Palm OS.)

case OptionsAboutPSEDAT:
  {
   FormType * frmP;

   /* Clear the menu status from the display */
   MenuEraseStatus(0);

   /* Display the About Box. */
   frmP = FrmInitForm (AboutForm);
   FrmDoDialog (frmP);
   FrmDeleteForm (frmP);

   handled = true;
   break;
  }
----- Original Message ----- 
From: "Robert Moynihan" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <palm-dev-forum@news.palmos.com>
Sent: Thursday, October 13, 2005 8:49 PM
Subject: Re: Form Loading Problem


> Del Ventruella wrote:
>
> >Thanks.
> >
> >I gave it a try.  Still no success.
> >
> >
> What happens then?  Does the form popup with nothing in the field, or
> are you saying that you get a crash?  Try boiling down your function to
> just the bare essentials, and once you get it working you can add back
> in the other stuff.  I've pared it down below...
>
> >The following is my attempt to call your function from a menu
> >(with a few artifacts from a prior attempt to call :
> >SetFieldTextFromStr(field, pText, redraw)).
> >This doesn't save anything, it is merely a placeholder for what I
eventually
> >hope to do, which also
> >requires putting the text to the screen:
> >
> >
> >
> <edited>
>
> >case Save:
> >  {
> >   FormType * frmP;
> >   Char* pText = (Char*) MemPtrNew(5);  // allocate 5 bytes
> >
> >   MenuEraseStatus(0);
> >   frmP = FrmInitForm (TransformerForm);
> >   StrCopy(pText, "2000");
> >   mySetFieldText(frmP, kVA, pText);
> >   FrmDoDialog (frmP);
> >   FrmDeleteForm (frmP);
> >   handled = true;
> >   break;
> >  }
> >
> >
> </edited>
>
> -- 
> For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to