HyperCard 2.2 New Feature: Part Numbers (12/93)

The "part number" -- new in HyperCard 2.2 -- is a button or field's ordinal
position among all the buttons and fields that share a domain (a card or a
background).

For example, if the ordering of parts on a card is card button 1, card
button 2, card field 1, card field 2, and card button 3, the part number of
card field 1 is 3. (Its layered position is third in a set of five.)

The part number is available in the object's Info dialog box; in a script,
it's available in the object's partNumber property.

Changing Part Numbers
---------------------
When an object's position relative to other objects within a domain
changes, its part number changes -- as when it moves closer to, or farther
away from, the front.

Lowest and Highest Part Number in a Domain
------------------------------------------
The object farthest away from the front within its domain has a part number
of 1; the object closest to the front in its domain has a part number equal
to the total number of objects in that domain.

This article was adapted from the HyperCard 2.2 New Features stack.
Published Date: Feb 19, 2012