Set font on part of an text field
-
- Posts: 9
- Joined: Wed Jun 13, 2007 7:20 am
- Location: Sweden
Set font on part of an text field
I wish to output two db fields in one text field: "table.column_a : table.column_b". The user wishes to have the column_a text in bold, but column_b in regular font. Is that possible? I tried to make a short textfield för column_a an let it overflow itnto the second field but that did not work.
In HTML it would be made this way: "column_a: column_b".
In HTML it would be made this way: "column_a: column_b".
Set font on part of an text field
Sorry, in one StiText component it is impossible. Please use RichText component for this task instead.
Thank you.
Thank you.
-
- Posts: 9
- Joined: Wed Jun 13, 2007 7:20 am
- Location: Sweden
Set font on part of an text field
Thank you for the explanation.
Set font on part of an text field
Let us know if some help will be necessary for you.
Thank you.
Thank you.
-
- Posts: 9
- Joined: Wed Jun 13, 2007 7:20 am
- Location: Sweden
Set font on part of an text field
Nice of you to ask. I tried the GetValue event handler:
e.Value = "\b" + ToString(Activity.Component.name) + "\b0" + " : " + ToString(Activity.description);
Now, that did not work. Do you have an alternative syntax to achive the bolding of the first item?
Cheers!
e.Value = "\b" + ToString(Activity.Component.name) + "\b0" + " : " + ToString(Activity.description);
Now, that did not work. Do you have an alternative syntax to achive the bolding of the first item?
Cheers!
Set font on part of an text field
Please use the technique which is described in our documentation:
http://www.stimulsoft.com/Documentation ... tvalue.htm
Thank you.
http://www.stimulsoft.com/Documentation ... tvalue.htm
Thank you.