Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var
NewMenuItem : TMenuItem;
i : integer;
begin
for i := 1 to 4 do
begin
//Create new menu item
NewMenuItem := TMenuItem.Create(Self);
//set caption
NewMenuItem.Caption := 'New Item' + IntToStr(i);
//add as new item to 3rd menu item
MainMenu1.Items[2].Add(NewMenuItem);
end
end;