>From: Ben Combee <[EMAIL PROTECTED]>
>What I'm saying is that the whole form at 500, control at 501, 
>control at 502, etc. scheme is due to the Mac OS resource 
>mechanism.  Without that, you could have the controls for each 
>form start numbering at 1 without worrying about overlap 
>between forms, since each form has its own control ID space 
>on the device.

        And so Ben?   The way it is, is the way it is, surely?

>
>If you don't have this linkage between form numbers and controls
> in the form, then 100x spacing just isn't necessary.

Actually that characteristic is useful in run-time bug checking 
(the characteristic where the ID's of controls on a form are greater
than the form ID and not more than 100 over the form ID)

Within our in-house C++ UI classes we check for this.  It is a very,
very effective trap when the wrong field, control or form ID name
is used. 

Roger Stringer
Marietta Systems, Inc.



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

Reply via email to