Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Menu problem
Versions des environnements
Visual FoxPro:
FoxPro Windows
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01094256
Message ID:
01094256
Vues:
54
I'm getting the following error message, and do not know what it means or what to do to fix it.

Also, what is _mfile? is the value -20478 a valid and likely correct value?

All the menu items seem to function properly except for the items that are supposed to have check marks. All the rest of the menu (many other items) are unaffected, with the caviot that after an item concludes it's execution the menu refreshes, with sets a couple of check mark items... again throwing a related area on a MRKBAR line.

Any help would be appreciated.

Rick

------
Error # : 1612
Message : No such menu/item is defined.
Line : IF !MRKBAR('_mFile', knCareer)
Program : PROFILE I:\DEVELOP\OIS4\SRC\PROFILE.APP
ON...
I:\DEVELOP\OIS4\SRC\START.APP
I:\DEVELOP\OIS4\SRC\OIS4MAXI.APP
I:\DEVELOP\OIS4\SRC\RICK.APP

Line # : 526
------




_mfile is -20478
knCareer is 16
*Line# Code
*-------------------------------
525	CASE do_what == 'CAREER'
526		IF !MRKBAR('_mFile', knCareer)
527			SET MARK OF BAR knCareer      OF _mFile TO .T.  && turn on Career Counsellor
528			store .t. to glCareer
529			SET MARK OF BAR kn720         OF _mFile TO .F.  && turn off 720 Composite
530			SET MARK OF BAR knWorkshop    OF _mFile TO .F.  && turn off WorkShop
531			SET MARK OF BAR knMixedGraphs OF _mFile TO .F.  && turn on MixedGraphs
532			store .f. to gl720, glWorkShop, glMixedGraphs, glNormal
533		ELSE
534			SET MARK OF BAR knCareer OF _mFile TO .F.  && turn off Career Counsellor
535			store .f. to glCareer
536			store .t. to glNormal
537		ENDIF
538	
538	CASE do_what == 'SPANISH'
My menu starts out with a "File" menuitem
under "File" are:
"New Profile" CTRL+N
"Open" CTRL+O
"Close Profile"
""
"Save As..."
"--------------" <--- seppartion line
"Print Both Graphs" CTRL+P
"Print Old Graphs" CTRL+K
"Print New Graphs"
"Fax"
"Re-Print Profile Questions"
"Print Expanded Profile"
"Print NP"
"Print Audit Copy"
"--------------" <--- seppartion line
"Career Counselor"
"Spanish Profile"
"720 Composite"
"Workshop Profile"
"Mixed Graphs"
"--------------" <--- seppartion line
"New Graphs Only"
"Print Old On All Graphs"
"Print Old Graph With Upgrade"
"Print Old Graph With Comparison"
"Preview Only"
"&cEzedit_PDF" variable assignment determined at run-time
"&cNP_PDF" variable assignment determined at run-time
"Print Work Place Assessment"
"Exit"


Items "Career Counselor" and below are items that are checkmark items
except for
"&cEzedit_PDF" variable assignment determined at run-time
"&cNP_PDF" variable assignment determined at run-time
"Print Work Place Assessment"
"Exit"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform