Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu is disappearing when I Call a Form
Message
De
11/02/2014 11:06:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Menu is disappearing when I Call a Form
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01594000
Message ID:
01594000
Vues:
68
Dear Experts,

Menu is disappearing when I
calling F_TestForm using this menu program.

The problem I am facing is, the control is not return back to
parent menu, so, I am not able to call Second Form after closing first form.
CLEAR
SET SYSMENU SAVE
SET SYSMENU TO
ON KEY LABEL ESC KEYBOARD CHR(13)
DEFINE MENU example BAR AT LINE 1
DEFINE PAD convpad OF example PROMPT Conversions' COLOR SCHEME 3 ;

DEFINE PAD cardpad OF example PROMPT 'Card \Info' COLOR SCHEME 3 ;
   
ON PAD convpad OF example ACTIVATE POPUP conversion
ON PAD cardpad OF example ACTIVATE POPUP cardinfo
DEFINE POPUP conversion MARGIN RELATIVE COLOR SCHEME 4
DEFINE BAR 1 OF conversion PROMPT 'Area' ;


ON SELECTION POPUP conversion DO choice IN defimenu WITH PROMPT( ), POPUP( )
DEFINE POPUP cardinfo MARGIN RELATIVE COLOR SCHEME 4
DEFINE BAR 1 OF cardinfo PROMPT 'View Charges' ;

ON SELECTION POPUP cardinfo;
   DO  FORM c:\f_testform.scx

ACTIVATE MENU example
DEACTIVATE MENU example
RELEASE MENU example EXTENDED
SET SYSMENU TO DEFAULT
ON KEY LABEL ESC
PROCEDURE choice
PARAMETERS mprompt, mpopup
WAIT WINDOW 'You chose ' + mprompt + ;
    ' from popup ' + mpopup NOWAIT
Please help me to solve this issue.

Regards
Abdulla
Répondre
Fil
Voir

Click here to load this message in the networking platform