============================================== Edit menu to add most recently opened files p90 Sub UpdateMenu() ' Make the initial element visible and display separator bar frmEditor.mnuFileArray(0).Visible = TRUE ' Increment Index property of control array Index = Index + 1 ' Create a new menu control Load frmEditor.mnuFileArray(Index) ' Set the caption of the new menu item frmEditor.mnuFileArray(Index).Caption = FileName ' Make the new menu item visible frmeditor.mnuFileArray(Index).Visible = TRUE End Sub