This is unclear what do you want: centre the content of your textbox or do you want to centre to textbox object in your report? The second option I have no problem, the first option does not work for me wether you have a TF tag or not.
I need to center the contents of the text box, but I noticed that when using <TF> I lose the alignment control, Koen Piller do you have any sujestao to do this alignment
There is really no problem to center text into your text box even when you apply the <TF> tag. There must be something else in your report which bothers you.
See this example, the last name is left aligned (default), the first name is center aligned and has the <TF> Tag. The textbox for firstname has the size of almost the full width of the report.
Good morning, Koen,
follows test project, note that in the text box that use <TF> (<b> </ b>) I can not align alignment in the center.
Only in the other textbox where I do not use <TF>
I dont know what you would like to happen.
--
If you want to have a field BOLD I would use the font characterics. And you will get Fieldname
If you implent <TF> with '<b>'+fieldname+'</b>' you will not get fieldname bold.
To center: this is to be set via Center properties in Field Properties.
this can be done regardless of the <TF> settings in Comment and or Data.
What is your goal to set <TF> in both the Comment and the Data?
Koen use <TF> because I need bold and regular font in the same text box, if I do not apply <TF> the alignment works, once I apply <TF> the alignment does not work anymore
Anderson,
I am afraid that will not work with FoxyPreviewer : a combination of Bold and unBold in the same textbox. For that you shall have to need to implent a RTF class. If you would like to print, like in your sample in your VFP Report:
Còdigo da assisnata 71454834
and this all comes from one text box, then RTF is your friend. If the data comes from 2 textboxes we can do it without RTF.
How does your data look like?
I was not correct, FP allows one to format in one an the same textbox different formats. However also meanwhile Cesar confirmed one cannot and format and centre, this was not forseen.
I believe Cesar is now working on a solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.