Hi folks, I'm trying to create a button bar across the top of all of my
forms, using pushbutton objects. Let's just say, for the moment, that
there are three pushbuttons -- one form form 1, form 2, and form
3. Pushing on the button for form 2 or form 3 while on form 1 switches to
one of those forms.
Now, my question is this: since those pushbuttons are form resources, they
must be duplicated on each form. Is there any clean way of sharing
resources between forms using pilrc? I've used the same resource IDs in
each form, which generates some warnings, but seems to work. However, I'm
having some problems with other resources showing up on all three forms
now that did not occur before.
The other approach I thought of involved having a small form displayed
above all of the other forms. That is, I'd have a form say, 20 pixels
high, that contained the form switching buttons. Then each of my
"full-screen" forms would go from 20 to 159 in height. However, it's
unclear to me if this kind of behavior is permitted by the API, since
there's a notion of an active form -- if two forms are displayed
simultaenously, do both receive events appropriately within their
respective regions?
As a last resort, I could simply do the button drawing/state designation
dynamically in the code for each form, but that seems like it's overkill
for what I want to do.
Thanks in advance,
-j
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/