I figured out what was happening. I basically put "handled = true" in the "default" cases in one of my event handlers so that the event never made it to my popup form's event handler. stupid mistake!
The Ewings wrote:
Hello,
Please excuse any "typos" I've made herein, and thanks in advance for help ...
I'm a relatively new palm pilot programmer. I'm trying to load a "popup" form containing a list and a "Quit" button for users who choose not to select any items from the list. The problem is that the event handler for the new form isn't receiving any events generated by the new form's resources - not by pressing the button (which should generate ctlSelectEvent) nor by selecting a list item (which should generate lstSelectEvent). The list is being drawn correctly. I know the event handler for the new form is being called for the frmLoadEvent and "other" events (such as: penDownEvent, penUpEvent, etc.). The problem seems to be that neither the button nor the list (see code below) is even generating the desired events. It is as if my popup form does not have a button nor a list resource.
Help, please. Any ideas as to why this is happening? What
in the world am I doing wrong? I have typed in some of my
code below. I am trying to follow a "classic", text-book
method of bringing up a Modal Dialog with its own, full
event handler.
Code snipped out ...
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
