Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu not working after closing Print Preview Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00063393
Message ID:
00063685
Vues:
56
Hi Allan,
I've never used "push & pop menu" when doing a reporting using REPORT FORM.
Here is what I usually do in my report program :
1. After the user picks a menu option from the menu pad, a form will appear for the user to enter parameters
for the report.
2. In the INIT method of the form I put : SET SYSMENU OFF and in the UNLOAD method :
SET SYSMENU AUTOMATIC
3. After the user clicks on the PRINT button, then the REPORT FORM xyz PREVIEW NOCONSOLE
will be executed. And in the click method of the PRINT button just after the REPORT FORM command
I put the following statement: RELEASE THISFORM, so after the user exits the report preview, he'll be
brought back to the menu.

HTH,
Andi Hidajat
pkshq@cbn.net.id



>>Allan,
>>
>>Jim Booth posted his workaround on CSi today:
>>
>> push menu _Msysmenu && work around for bug in VFP5 KB Article Q164868
>> report form (this.mcReportForm) preview &lcNowait &lcSummary
>> pop menu _Msysmenu
>>
>>>The command for the menu pad is:
>>>REPORT FORM culisting PREVIEW
>>>
>>>The problem is not that the report doesn't print to preview - it does. The problem is AFTER I CLOSE the preview window the menu items are enabled (which they should be) but NOTHING happens when I select an item from one of the sub-menus (eg. if the sub-menu pad command is to open a form - nothing happens). Once again, this only happens when I run the exe from thge network - not when I run the 'uncompiled' app on my c: drive.
>
>David,
>
>Thanks, Much appreciated.
>
>AL
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform