At 8:00 PM -0700 5/11/99, [EMAIL PROTECTED] wrote:
>Is the maximum number of objects in a form is 99? Because of the limitation
>of object ID? form with ID 1200 can contains objects with 1201-1299 ID
>only?
Numbering controls and other form objects starting with the form ID an
increasing by 1 for each control is just a convention. No software
enforces it.
It is a convenient thing to do, because it helps you keep track of the
order in which controls are drawn, but that's about it. The order is
actually controlled by the order the items appear in the form object list,
and that does not have to have any relationship at all to the form ID.
One other slightly convenient use of this numbering convention is that you
can subtract the formID from the objectID and get the object index, which
is handy for debugging. In your code, however, you should always call
FrmGetObjectIndex, because Palm makes no promises that the object index
will be 0 based or in the same order as objects in a form...
--Bob