Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to bold and unbold text?

1,099 views
Skip to first unread message

Laurel

unread,
Dec 8, 2005, 1:13:30 PM12/8/05
to
How can I dynamically (in a script) bold a text item in a datawindow? HELP
got me this far...tab_1.Weight = 700 will set the text in a tab to bold, and
using 400 will unbold it. How do I apply this to a single text item within
a datawindow?

TIA
LAS


Brad Wery

unread,
Dec 8, 2005, 1:19:32 PM12/8/05
to
Use this syntax:

<DW Control Name>.Object.<Columnname>.Font.Weight='<400 - Normal, 700 -
Bold>'

Brad

Andrew Giulinn

unread,
Dec 8, 2005, 6:39:42 PM12/8/05
to
Laurel

You can use the DataWindow's Modify function.

Cheers

--
Andrew Giulinn
Senior Analyst/Programmer
Integrated Aviation Software Pty Ltd

"Laurel" <Fake...@Hotmail.com> wrote in message
news:439877ca$1@forums-1-dub...

dawntbrowneyes

unread,
Dec 13, 2005, 1:38:14 PM12/13/05
to
You can use the modify to bold entire columns, you can not
bold only individual words in a column.

If you want to only bold a column if it starts with a G,
in the datawindow, font tab, to the right of the bold
checkbox code:
if(left( columnx ,1) = 'G', 700, 400) //bold if G

0 new messages