Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define Bar - Numeric or Name?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Define Bar - Numeric or Name?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01290878
Message ID:
01290878
Vues:
54
Hi Gang!

Boy, does this go back in time!

I was making a change to a menu, generated by VP8 SP1.

I ran into a problem.... I had assigned names to the Bars in the Menu Builder. Now, the code blows up. Here is the new Menu...
SET SYSMENU TO
SET SYSMENU AUTOMATIC

DEFINE PAD Ordering OF _MSYSMENU PROMPT "Ordering" COLOR SCHEME 3 ;
	KEY ALT+O, ""
DEFINE PAD Receiving OF _MSYSMENU PROMPT "Receiving" COLOR SCHEME 3 ;
	KEY ALT+R, ""
DEFINE PAD Suppliers OF _MSYSMENU PROMPT "Suppliers" COLOR SCHEME 3 ;
	KEY ALT+S, ""
DEFINE PAD _2an0tmktl OF _MSYSMENU PROMPT "Reports" COLOR SCHEME 3 ;
	KEY ALT+R, ""
DEFINE PAD Utilities OF _MSYSMENU PROMPT "Utilities" COLOR SCHEME 3 ;
	KEY ALT+U, ""
DEFINE PAD _2an0tmktm OF _MSYSMENU PROMPT "Exit" COLOR SCHEME 3 ;
	KEY ALT+E, ""
ON SELECTION PAD Ordering OF _MSYSMENU DO FORM frmorder
ON SELECTION PAD Receiving OF _MSYSMENU DO FORM frmrecv
ON SELECTION PAD Suppliers OF _MSYSMENU DO FORM frmsuppliers
ON PAD _2an0tmktl OF _MSYSMENU ACTIVATE POPUP reports
ON PAD Utilities OF _MSYSMENU ACTIVATE POPUP utilities
ON SELECTION PAD _2an0tmktm OF _MSYSMENU do unload

DEFINE POPUP reports MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF reports PROMPT "Orders Summary"
DEFINE BAR 2 OF reports PROMPT "Drug Order History"
ON SELECTION BAR 1 OF reports DO Form frmsummary
ON SELECTION BAR 2 OF reports DO Form frmdruglist

DEFINE POPUP utilities MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR Configuration OF utilities PROMPT "Configuration"
DEFINE BAR PO OF utilities PROMPT "Load Starting PO"
DEFINE BAR 3 OF utilities PROMPT "Reindex"
DEFINE BAR Scanning OF utilities PROMPT "Inventory Scanning"
ON SELECTION BAR Configuration OF utilities do form frmconfg
ON SELECTION BAR PO OF utilities do form frmpo
ON SELECTION BAR 3 OF utilities DO REINDEX
ON SELECTION BAR Scanning OF utilities do form frmscan
and the code blows on the
DEFINE BAR Configuration OF utilities PROMPT "Configuration"

line
with "Variable Configuration not found".

I thought I could use the Bar names this way... do they always have to be 1,2,3,4...etc?

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform