> > Is it possible to run 2 different forms each with it's own
> > event handler at the same time?  My idea is to have a small
> > "navigation" form that
> > is used to navigate through the other forms in my app.
> >
> >     --------------------
> >    |                    |
> >    |                    |
> >    |  Area for Forms    |
> >    |         1 to n     |
> >    |                    |
> >    |                    |
> >    |                    |
> >     --------------------
> >    |                    |
> >    |  Navigation Form   |
> >    |                    |
> >     --------------------
> 
> With one CPU, two different things "at the same time" is never really
> possible.  Further, you only have access to one thread from the OS.  Since
> the navigation part is a small percentage of the total form, it seems like
> you should just use "n" forms, each one repeating the navigation portion.
> Or, you could use 1 form and dynamically generate the controls for each "new
> form".

  sure.. it is possible :)

  you would need to simulate a "virtual form" (having both) and then
  delegate events appropriately.. for example, when a nilEvent comes
  in, send it to both.. when a pen event comes in, check the area and
  send it to the appropriate form..

  possible.. but.. dont ask me for support :) possible is the key word

// az "yay, i am back"
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
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