
(*
 Delphi Object and Component Reference
# {bmc bm9.BMP} Count, Items, Enabled example
The following code disables all the subitems of MenuItem1.
*) 
for (int i = 0; i < MenuItem1->Count; i++)
{
  MenuItem1->Items[i]->Enabled = false;
} 
