User Tools

Site Tools


colorrtf_code_template.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== ColorRTF code template ====== Previous pageReturn to chapter overviewNext page

NoteBox.jpg

This template (and its associated code templates) has been deprecated, and is now replaced by the RTF Text Control template.

The ColorRTF code template calls the Windows standard color choice dialog box in order to allow a user to choose a color. If text is selected prior to calling the color dialog, the selected text will be colored the selected color. This template calls the Color method. There are no parameters for this method.

Prototype:

Color

Example method calls:

oRTF_RTFTextBox.Color() !Color text

Template Prompts:

Associated RTF control

Select the RTF control from the drop-down list. All controls on the Window are included in the list. This field in required.

colorrtf_code_template.htm.txt · Last modified: 2021/04/15 15:57 (external edit)