Items with relative positioning are positioned in relation to other items on the form. Their itemlocation information is dependent upon an anchor item. If you move the anchor item, all of its dependent items move to maintain their positions relative to the anchor item.
You can place items on a form to align with other reference items on the form. As a results of setting relative alignment, you can later move the reference item and all other items set relative to it will also move with it. Relative positioning can affect more than the location of items. Relative positioning can also affect the alignment and size of items. Any adjustments to the location or size of a reference item could potentially affect numerous other items. This is a quick way to move, resize or apply font attributes to a group of items so that they line up with other items exactly when designing the form layout.
For example, you have a label at position 10,10 on your form. You create a field, and used relative positioning to place it after the label. The field would be placed immediately next to the label. If you were to move the label to a position of 20, 20, the field would move with the label in order to remain after it. The field would have no absolute position of its own, but instead would base its position on where the label had been placed.
Items that are relatively positioned define a relationship and a reference item. The reference item must precede the item being aligned. If an item tries to reference an item that follows it in the build order then the item location will be ignored. For detailed information about build order, see Changing the build order of items.