General information
Category:
Reports & Report designer
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only