Html tag <b> cuts the rest of text
Hi,
I have problem with html formating. I try to use it in text object with property AllowHTMLTag set to True.
When I put html tag in the expression of text object containing two data fields like a
Some text [<frxDBDataset1."Field1">] [Trim(<frxDBDataset1."Field2">)]
then the first field (Field1) will be bold as expected but the second is not displayed at all. When the html flags are ommited then both fields are displayed in the report.
The text object has the property AutoWidth set to True.
Can anybody give me a hint, please ?
Boro
I have problem with html formating. I try to use it in text object with property AllowHTMLTag set to True.
When I put html tag in the expression of text object containing two data fields like a
Some text [<frxDBDataset1."Field1">] [Trim(<frxDBDataset1."Field2">)]
then the first field (Field1) will be bold as expected but the second is not displayed at all. When the html flags are ommited then both fields are displayed in the report.
The text object has the property AutoWidth set to True.
Can anybody give me a hint, please ?
Boro
Comments
AutoWidth property is not compatible with HTMLtags. It returns the width of
non-formatted text.
Really, setting AutoWidth to False and size wide enough for the Text object solves the problem. Text is formatted by html flags as requested.
Boro