allChildren

Type: MenuItemArray

Availability: Read at run time only

The allChildren property of the MenuItem class contains a reference to an array of all of the children of the menu item, including children of children. The collection is ordered according to the defined menu item list.

The following code fragment is an example of the use of the allChildren property.

foreach control in frameLeft.allChildren do
    if control.isKindOf(Label) then
        control.fontBold := true;
    endif;
endforeach;