Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Bold/Italic, etc. on multiple objects...
Message
De
15/12/2005 10:34:55
 
 
À
15/12/2005 00:57:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01078136
Message ID:
01078271
Vues:
19
Hi Bob.

>One of my frustrations has been when I design a report, I'd like to select some objects and just click a Bold Button, much like you can do in word or excel. With the new features in Ver. 9.0 is this possible? If so, are there any examples?

Yes (to your first question) and No (to your second). Since reports events fire in the Report Designer, you could hook the "open report" event and display your own toolbar with Bold, Italics, etc. buttons on it. These buttons would adjust the FONTSTYLE column of the selected record in the FRX and set the Reload property of the event object to .T. so the Report Designer sees that something changed.

There isn't an example that I'm aware of for this exact thing, but the VFP help topics on extending the Report Designer give you all the information you need to do this.

>Also, can you call a toolbar button in code? Like the Printer Properties or Layout toolbar icons?

Not for any of the system toolbars, but again, you could create your own toolbar if you need to do this.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform