Unless I am not understanding what you are doing, you shouldn't need to have
any application bloat (except for a slight duplication of the resources).
You should write common code to handle the navigation form and have the
event handler for each form just call the common navigation code. Not only
will this reduce your code size but will also be a whole lot easier to
maintain.
//Ray

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Seeley,
Steve E
Sent: Wednesday, March 21, 2001 1:50 PM
To: Palm Developer Forum
Subject: RE: Running two different forms at the same time

Hi Richard,

        That's too bad.  I was hoping to avoid application bloat due to
having the same navigation code repeated in each forms event handler.  Each
form has it's only event handler.  Well it was worth asking!  I didn't know
if someone had some sort of trick for get around this.

sigh,
Steve

Subject: RE: Running two different forms at the same time
From: "Richard Burmeister" <[EMAIL PROTECTED]>
Date: Mon, 19 Mar 2001 15:03:47 -0600
X-Message-Number: 76

> From: Seeley, Steve E
>
> 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".



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


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