Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Menu is disappearing when I Call a Form
Message
From
11/02/2014 11:06:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Menu is disappearing when I Call a Form
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01594000
Message ID:
01594000
Views:
69
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
Reply
Map
View

Click here to load this message in the networking platform