Hi,
I have a number of text objects on a Crystal Report that I am
dynamically setting the text for at runtime using .NET. I want the
text to be right-aligned in these objects. At design time, I have set
the horizontal alignment to be right, but at runtime when I get a
reference to the object and set it's text, it always reverts to
left-aligned. I have also tried in the code resetting the alignment
after setting the text value using the following code, but it doesn't
work either:
txtObject.ObjectFormat.HorizontalAlignment = Alignment.RightAlign;
Is this a bug in Crystal? If I don't modify the text setting at
runtime, it is right aligned...Does anyone know how to do this?
Thanks,
JohnW