Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing View menu in report designer during runtime
Message
De
04/12/1998 13:51:04
 
 
À
04/12/1998 10:24:37
Becky Vidal
Heritage Information Systems, Inc.
Richmond, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00164080
Message ID:
00164183
Vues:
31
>I have a program in an application written in VFP 5.0 which allows a user to modify a report. I use the MODIFY REPORT reportname command to allow this. The application is compiled into an EXE. When I run the EXE within VFP the MODIFY.. command works, the report comes up with all of the menu items available (view, tools, etc.). When I run the EXE outside of VFP, the report comes up but the View and tools menu items are not available (which does not allow the user access to the layout toolbar or report controls toolbar). I assume these controls are not available in the runtime files (VFP DLLS). How can I fix this problem so I can give the user access to these items? Thanks.


From your development version of VFP find the records in your FOXUSER that reference the report tools: ID="REPORTTOOLS" and ID="TTOOLBAR" and save them off to a table. Now in your .EXE, you have to replace the existing records in your FOXUSER table at runtime with these saved records. Now you will have your report tools available in your .EXE. An awful lot of work just to get something that really ought to be there already!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform