This is typically done with a frmUpdate event sent from the
popup when closed to the main form with a custom update
code.  I believe the call is FrmUpdateForm() (no docs here
sorry).

HTH,
-- Paul
___________________________________________________________
Paul A. Dugas, Computer Engineer     Dugas Enterprises, LLC
mailto:[EMAIL PROTECTED]              1711 Indian Ridge Drive
tel:404-932-1355                   Woodstock, GA 30189-6856
fax:770-516-4841                    http://pauld.dugas.com/

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> m]On Behalf Of Fredrik
> Jagenheim
> Sent: Tuesday, April 18, 2000 11:32 AM
> To: Palm Developer Forum
> Subject: Popup-Forms
>
>
> Hi,
> In my main form I open a popup form, in which
> the user can select a value
> from a list. This value is then copied into a
> list on the main form and the
> popupform is closed.
>
> However, the list is not redrawn.
>
> The list is correct, I tried forced it to redraw
> using LstDraw, and it drew
> correctly, however since I did this in the
> context of the popup-form, it
> drew it on the popup form, so it wasn't
> particulary useful, except for
> testing purposes. :)
>
> Well, to my questions:
> Is there a way I can mark the list 'dirty' so
> it'll be redrawn when the main
> form reappears under the popup form?
>
> And, what event is sent to the form when the
> popup form goes away? It'd be
> easy to catch that event and then redraw the
> list, but I can't figure out
> which one. I thought it might be LoadFormEvent
> since the eventhandler had to
> be reinstalled for the mainform, but wasn't.
>
> How does the event-handler work with popup
> forms? I'd figure the main form
> atleast would've gotten a LoadForm so it could
> reinstall its event handler,
> since this was overwritten when I Loaded the
> popup form. But the event
> handler magically reappeared without me having
> to install it. Is there some
> kind of stack of event handlers? I.e. when I
> install my popupform event
> handler it places itself 'on top of' the
> mainform event handler, and all
> events I don't take care of in my popup form
> goes to the main form event
> handler before being passed on to the
> application event handler and beyond.
> Sounds plausible, but is this true? :)
>
> If anyone could answer any, or all, of these
> questions I would be very
> grateful. :)
>
> //Fredde
>
>
>
> --
> For information on using the Palm Developer
> Forums, or to unsubscribe, please see
> http://www.palm.com/devzone/mailinglists.html
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to