Hi All,
I have a TMainMenu object and various TmenuItem objects.
I would like to know how to delete or remove programmatically a TMenuItem called START (first item in menu).
I have tried this:
TMenuItem->Items->Delete(0);
TMenuItem->Items->Remove(0);
where 0 represents the first menu item.
Neither of these commands work.
I simply cannot see how to use the Items property to access the required TMenuItem.
All help appreciated,
Steven Matthews
I have a TMainMenu object and various TmenuItem objects.
I would like to know how to delete or remove programmatically a TMenuItem called START (first item in menu).
I have tried this:
TMenuItem->Items->Delete(0);
TMenuItem->Items->Remove(0);
where 0 represents the first menu item.
Neither of these commands work.
I simply cannot see how to use the Items property to access the required TMenuItem.
All help appreciated,
Steven Matthews