User Tools

Site Tools


flatbuttonsrtf_code_template.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== FlatButtonsRTF 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 FlatButtonsRTF code template is used to set the FormatBar and Toolbar buttons to appear in a flat or raised mode. A flat button remains flat until the mouse cursor passes over it. This template calls the FlatButtons method. A TRUE valid is passed to the method to use flat buttons. A FLASE value is passed to the FlatButtons method to raised buttons.

Prototype:

FlatButtons( status )

Example method calls:

oRTF_RTFTextBox.FlatButtons( 1 ) !Flat buttons

oRTF_RTFTextBox.FlatButtons( 0 ) !Raised buttons

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.

flatbuttonsrtf_code_template.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1