Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I bring up 'Report Controls' tool-bar in my app?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00428151
Message ID:
00429061
Vues:
19
>Hi Tom.
>
>>I would like to open the 'Report Controls' toolbar. I use the command SHOW WINDOW 'Report Controls'. According to the help file, it is supposed to work 'if the window is defined'. But the window does not exist, and the command crashes.
>
>You have to create a resource file that contains a reference to this toolbar, then use that as the resource file for the application. Here's how I did it:
>
>- copied FOXUSER.DBF/FPT to MYRESO.DBF/FPT, then zapped this new table
>- SET RESO TO MYRESO
>- MODI REPO ANYTHING
>- bring up the desired toolbars (Report Controls, Layout, Color Palette, etc.)
>- close the Report Designer
>- SET RESO TO
>
>If you browse MYRESO, you'll see records for the toolbars. Include MYRESO.DBF in your app. Then, just before the MODI REPO command in your app, do a SET RESO TO MYRESO.
>
>Doug
---------------------------
Thanks, Doug.

Since sending my original message, I did find the resource file entry and I put .t. in the READONLY column, and it did what I wanted. But your idea of switching resource files just before the MODI REPO, and putting it is the APP is excellent.

Tom
Tom Green in Montreal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform