Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically invoking Report Controls Toolbar
Message
 
À
08/03/1999 16:05:24
Hermann Strijewski
Fast Track Business Solutions
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00195328
Message ID:
00195411
Vues:
22
>>I have a form where I want to put a command button with Click code:
MODIFY REPORT myreport.FRX
Is there some way how I can programmatically enforce that Report Controls Toolbar to appear for the users?<<

First create a new menu (ViewMenu.mpr) via the quick menu method so you can have the basic VFP menu. I then delete all pads except for File Edit View Window (nothing magical about this, just my preference). Then when I get ready to allow editing of report layouts I issue the following commands

Push Menu _msysmenu
do ViewMenu.mpr
MODIFY report (cReport) &&MyReport.frx
Pop Menu _msysmenu

Under the view menu, all the report modify toolbars are available. (Note: The toolbars only are visible at runtime. During design time, only \Toolbars... is available).

Kevin
Kevin Emmrich
www.jkt9000.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform