## The `order' property

Integer scalar

Valid for: Menu, Check, Radio, Button, Progress, Trackbar, Spinner, Scrollbar, List, Combo, Edit, RichEdit, Movie, Splitter, Selector, Page, Tree, Frame

The `order` property defines the logical position of a child control amongst the controls of its parent. As each control is created, it is assigned the next integer value, starting at 1. You can change the order by assigning a new integer or fractional value; the other controls will be re-ordered accordingly. This can be used to specify the sequence in which controls on a window are selected using the Tab key.

Menu and Page controls are displayed in the sequence defined by the `order` property. For example, in a sub-menu, the first item has `order` 1, the second has `order` 2, etc.

Note: Under MacOS, the `order` property is ignored for Menu controls. Menu items cannot be re-ordered once they have been created.

Topic: APLX Help : System Classes : Properties : order

[ Previous | Next | Contents | Index ]