At 10:20 AM 11/30/2000, Ben Combee wrote:
>From what I've seen, the order is based on the resource ID number, but it
>doesn't take effect immediately upon change.  If you change the order, save
>the resource file, then reopen it, things will display correctly.

This is a bug in Constructor. There is nothing inherent in the resource format that 
requires the order of objects within a form to match their ID order. The hierarchy 
view is where you'd specify the order (if it worked). For now, I suggest arranging the 
IDs so that they match the order you want.

>The Palm really doesn't guarantee a certain draw order, but all the
>implementations so far draw in index order, where the index order is based
>on resource ID numbering.

Constructor is sorting the form objects according to their IDs. Other resource editors 
don't do this (and Constructor won't when the bug is fixed). The Palm OS draws the 
form objects in the order they're specified in the resource, which may not be in ID 
order. So, if the resource editor you're using allows you to specify the order of the 
form objects, you can take advantage of it to determine the order the objects are 
drawn on the form. If not, just use the IDs to specify the order.
--
Peter Epstein
Palm Inc. Developer


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