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