Information générale
Catégorie:
Gestionnaire de menu & Menus
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement