Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Reporting tools (GRW, GRE)
>
How to use expression changing the font property of certain words within string
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: How to use expression changing the font property of certain words within string (Read 13522 times)
sheng l.
Posts: 10
How to use expression changing the font property of certain words within string
«
on:
April 13, 2011, 07:08:28 am »
I need to make certain words within a string to be bold and underlined. How can I do it without separating those words from other string and make them in the same word box/word wrap box.
Can I set the font property of a string dynamically using expression? and how?
Alex G.
Posts: 155
Re: How to use expression changing the font property of certain words within string
«
Reply #1 on:
April 13, 2011, 09:52:11 am »
Did you try using the HTML box as it provides a good way to produce attributed text? The style properties on WORDBOX, WORDWRAPBOX apply to the entire content so that that is not possible to display mixed content with a single instance of these objects. You would have to break the text into chunks and set the properties on the individual chunks.
sheng l.
Posts: 10
Re: How to use expression changing the font property of certain words within string
«
Reply #2 on:
April 13, 2011, 11:27:46 pm »
Seems like I don't have a HTML Box in my report writter. My version is 2.21.06-85371
Reuben B.
Posts: 1126
Re: How to use expression changing the font property of certain words within string
«
Reply #3 on:
April 13, 2011, 11:32:50 pm »
The HTML Box was introduced into GRW in 2.30
https://4js.com/online_documentation/fjs-gst-manual-html/configurations/User/NewFeatures.html#Report_Writer
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
sheng l.
Posts: 10
Re: How to use expression changing the font property of certain words within string
«
Reply #4 on:
April 14, 2011, 12:22:07 am »
Thanks!
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...