--- Dave Mottorn wrote:
> 
>       I'm developing my first application.  
>

Congratulations!

> I have two forms that are very
> similar.  One works and one doesn't.  
> When I tap on controls on the form
> that doesn't work it triggers an event 
> and goes through the logic that
> processes events for the form.  However 
> it doesn't seem to register the type
> of event properly.  I have a case 
> statement where it should recognize that 
> it is a ctlSelectEvent but it doesn't.  
> Everything seems to be identical the way 
> I set up the two forms.  I'd appreciate any 
> suggestions anyone has.
> 

1. Do you have a form event handler for each form
(MainFormHandleEvent and OtherFormHandleEvent)?  You
need one event handler per form (or you need write a
lot of messy code to handle events coming from
multiple forms).

2. Did you set up the event handler for each form in
your AppHandleEvent? (FrmSetEventHandler)

3. I don't know what you mean by "it doesn't seem to
register the type of event".  Lots of events besides
ctlSelectEvent get sent to your event handler.

4. Why not show us some code?  For example, show us
your event handler for the form that doesn't work and
show us how you set up the event handler in
AppHandleEvent.


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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

Reply via email to