Sunday, February 12, 2012

Anyway to default font of all textboxes to a specific font

Does anyone know of a way to set the default font of all textboxes on a
report to a specific font without doing it in the properties for each
textbox? What about the padding?
Thanks for your help!I don't know of a way to change the default, at least not one I've
actually implemented (e.g., I imagine you can write your own), but
maybe you should contact Chris G. In "Can a TextBox Height and Width be
set dynamically?," he/she says "I have a custom code assembly which I
am using to control my textbox font settings at run time."
Another idea: If you copy and paste an existing textbox, the copy will
have the properties of the original.
Also: Maybe you know this, and even so, it is not an ideal solution,
but you can select more than one textbox (by dragging a selection
rectangle around them or by holding down Ctrl while clicking on each in
turn), then setting a single property (like font) will apply to them
all. You can also copy batches of them this way too.
It is also possible, though maybe not any more practical, to edit the
rdl source file directly.
Cathy wrote:
> Does anyone know of a way to set the default font of all textboxes on a
> report to a specific font without doing it in the properties for each
> textbox? What about the padding?
> Thanks for your help!

No comments:

Post a Comment