General information
Category:
Menus & Menu designer
Hi
I try read structre my menu to .txt file.
cMenuName = "LOLA"
nCou = CNTPAD(cMenuName)
FOR nSta = 1 TO nCou
cPad = GETPAD(cMenuName,nSta)
cSzu = PRMPAD(cMenuName,cPad)
STRTOFILE(PADR(cSzu,20)+ "/ " + cPad + " " + cFla,"C:\MENU.TXT",1)
nMax = Cntbar(cPad)
NEXT
When Cntbar() is fired I get error "Menu has not been defined with DEFINE POPUP" what is wrong ? Menu is generated
from VFPmenu generator.
Best regards
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only