[futurebasic] Best way to remove menu items?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: "Pierre A. Zippi" <pzippi@...>
Date: Mon, 16 Mar 1998 08:09:33 -0500
What is the recommended way to remove menu items?

I wish to have a menu that lists the open data files.
It seems straight forward enough to add the menu items as I open the 
files by:
MENU 6, fileCount, _enable, fileName$(fileCount)

But if I close a data file or select New form the file menu, I will need 
to close erase all the previously open data and remove the files from 
the menu.
I am using the following:
FOR x = 1 to fileCount
MENU 6, x, _disable, ""
NEXT x

This works (I think).  Is it the best method?
-- 
Pierre A. Zippi
------------------
Home email: paz@...
Home web: http://web2.airmail.net/paz