Chris,

===================================================================
> From [EMAIL PROTECTED]  Tue Jun  8 11:46:02 1999
> From: "Chris Antos" <[EMAIL PROTECTED]>
[...]
>
> you are correct, the frmCloseEvent is not sent by the FrmReturnToForm API.
> if the form is not erased, then in the frmOpenEvent of the popup form, are
> you perchance doing any drawing before calling FrmDrawForm?  if so, that's
> your problem.  it's FrmDrawForm that saves the contents of the screen behind
> your form, so if you draw anything before calling FrmDrawForm then the
> previous form will not be restored correctly.
===================================================================

Voila`! Milles mercis!

That's exactly what I was doing "wrong".
I drew a whole bunhc of fields on the screen of the popup form
and then called FrmDrawForm after calling lots of FldDrawField
functions.

I had somehow imagined that the OS would do a save-behind
just before queueing the frmOpenEvent.
I don't find this kind of wisdom in the documentation I use
(the companion and reference from the Palm site and the O'Reilly book).
It makes me wonder if I should start reading the OS source or
something.
But I remember that inthe old days (while typing punchcards
in the program preparation room), I always used to say that the
way people learn about programming is to ask the person sitting next
to them. I guess that's still true.

Cheers, and thanks again,
Alan Kennington.
--------------------------------------------------------------------
   name: Alan Kennington
   palm: Palm IIIx
palmdev: gcc/linux (redhat 5.2)
palmsrc: http://topology.org/src/palm/README.html
 e-mail: [EMAIL PROTECTED]
   city: Adelaide, South Australia
 coords: 34.89744 S, 138.58970 E
pgp-key: http://topology.org/key_ak1.html

Reply via email to