Dave Lippincott wrote:
> Yes, it is possible to use the same handler for every form. The big
> drawback is working with the resource IDs. The label/IDs will be different
> for each form. You may be better off writing individual handlers for each
> form but common routines to handle common messages.
As we've seen in another thread recently, this limitation, if it really
exists at all, is a limitation not of Palm OS, but merely of Constructor.
Using other tools such as PilRC one can assign the same IDs within
different forms at will.
This can be very convenient. For example, I give all the "Done" buttons
on all my forms the same ID, and refer to each in the code simply as
"idDoneButton", rather than needing a proliferation of various
"idThisFormsDoneButton" identifiers.
And I don't need to use the duplicated case labels advocated in that
other thread.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/