Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
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
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