User Tools

Site Tools


showrtfformatbar_code_template.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== ShowRTFFormatBar 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 ShowRTFFormatBar code template is used to simply either Hide or Unhide the default format bar. This template calls the ShowFormatBar method. A TRUE value is passed to the method to Unhide the format bar. A FALSE value is passed to the ShowFormatBar method to Hide the format bar.

Prototype:

ShowFormatBar( ShowStatus )

Example method calls:

oRTF_RTFTextBox.ShowFormatBar( 1 ) !Unhide format bar

oRTF_RTFTextBox.ShowFormatBar( 0 ) !Hide format bar

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.

Show Format Bar?

Check this box to make the format bar visible (Unhide). If the box is cleared, the format bar will be hidden at runtime.

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