Subject: Re: Max Forms
From: Logan Shaw <[EMAIL PROTECTED]>
Date: Fri, 18 Nov 2005 14:45:55 -0600

Roger Stringer wrote:
> You can't use resource ID's of 10000 or greater, but that doesn't by
> itself restrict you to 89 forms.

I don't know about you, but I'm not that fast with any resource
editor, and I think it would take me a while to create over 10000
forms and write code for them all.  :-)  So long, in fact, that I
think I would be unlikely to ever do it.

Constructor creates forms on incrementing 100 boundaries, so the first form is 1100, the second 1200, etc. Within a form, resources are assigned incrementing numbers based on the form ID, so the first resource in the first form is 1101, the second resource in the first form is 1102, etc.

A neat side-effect of this is that is you get an error say with resource 2421 with you are supposed to be working on form 4900, then you know you have a naming problem and very quickly trace it down.

But it you want to have 89 or more forms, you have to identify some small forms (with few resources) and ensure they are create on (say) boundaries of 25 instead of the default of 100.

Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


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

Reply via email to