| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Rich Text Template Support - Overview >====== SelectRTF code template ====== | [[savertffile code template.htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[selecttextrtf code template.htm|{{btn_next_n.gif|Next page}}]] | | || {{notebox.jpg|NoteBox.jpg}} **This template (and its associated code templates) has been deprecated, and is now replaced by the [[tplcontrolrtf.htm|RTF Text Control]] template.** The SelectRTF code template is used to give the rich text control focus. This works similar to the SELECT() statement. Focus is given to the rich text control specified by the template prompts. This template calls the SetFocus method. There are no parameters for this method. ** Prototype:** **SetFocus** **Example method calls:** **oRTF_RTFTextBox.SetFocus() !Give the Rich Text control focus** **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.