In InfoMaker 11.5, you can use the RichText edit style to display column data in a rich text format, and to use different fonts and colors in the same data field.
Columns that you format with the RichText edit style require considerably more storage space than columns with plain text edit styles. Therefore you should set a minimum of 1 KB for the column width. Otherwise, you can use the RichText edit style with columns that have large text datatypes.
By default, whenever a column with the RichText edit style is edited in the Preview view or at runtime, a font toolbar displays. The font toolbar disappears when the column loses focus. The toolbar can be moved and remembers its last position. You can modify the RichTextToolbarActivation constant on a control to display the default font toolbar whenever a report containing columns with the RichText edit style has focus—whether or not this type of column is selected. You can also modify the constant so that the font toolbar never appears.
Report property |
Datatype |
Description |
---|---|---|
RichTextToolbarActivation |
RichTextToolbarActivation (enumerated) |
Specifies when the default font toolbar appears for a report that has columns with the RichText edit style. Values are:
|
You can customize the toolbar by taking advantages of the properties, events, and methods introduced to support the RichText edit style. If you want to use a customized font toolbar instead of the default toolbar, you must set the RichTextToolbarActivation property to RichTextToolbarActivationNever!.
A new InfoMaker expression allows you to strip the RTF formatting of a RichText column.
For more information about the new property and expression function, see the online Help for the following items:
RichTextToolbarActivation
StripRTF