Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Bold/Italic, etc. on multiple objects...
Message
From
15/12/2005 10:34:55
 
 
To
15/12/2005 00:57:04
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01078136
Message ID:
01078271
Views:
18
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
Map
View

Click here to load this message in the networking platform