Applying formatting to specific text in a view

I am looking into applying formatting to a single word in a view row.Here is the formula for the column:

@If(ForumMsgSubject = “”;

@DocChildren(“”; “% response”; “% responses”);

" TOPIC: " + ForumMsgSubject)

I would like to bold and change the color of “TOPIC :” to red.

Is there any way to do this?

Subject: Applying formatting to specific text in a view

I don’t believe that you can change the color of text within a column in the Notes client, but you could throw in some pass-thru HTML if you’re doing this on the web.

Subject: From Notes or the Web? Need to split TOPIC: and Subject into separate columns in a Notes view to make this work.

Subject: You sure can - column text and color

Play around with it to get the colors you want. Not sure about the bolding though.

From the Help:

In Notes client applications, you can set a column’s background color and text color programmatically by selecting the “Use value as color” option on the Info tab of the Column Properties box and then supplying RGB coordinates in the Programmer’s pane as the value for the column.

Note This feature is not supported on the Web.

If you specify one set of coordinates (three numbers separated by colons), the color defines the appearance of the text. If you specify two sets of coordinates (six numbers separated by colons), the first set of coordinates defines the background color for the column, and the second set of coordinates specifies the text color. The color affects the column where you set the color value and all columns to the right of that until another color is set.

Note Setting colors to -1:-1:-1 reverts to the view and column properties.

For example, the following formula example shows how RGB coordinates can be used in both single and paired sets.

red := 255:0:0;

blue := 0:0:255;

yellow := 255:255:0;

pink := 255:193:253;

white := 255:255:255;

black := 1:1:1;

apricot := 255:155:133;

plain:= 0:0:0;

@If (category = “cats”;blue:red ;subcategory = “collars”;pink;subcategory =“leashes”;black:plain;0:0:0);

Note You do not need to define the color names – you can enter the numeric combinations directly into a formula. However, defining the colors makes it easier to see what you are doing and reduces the possibility of a typing error if you are using the same color more than once.

You can also set the column value equal to a field value that supplies RGB coordinates. You can use this feature in conjunction with the color field to allow a user to set a color with a color picker. You can then apply that color to a view component – for example to the text in a column.

For information on using this feature to make view colors customizable, see “Allowing users to set colors in a view.”