|Navigation: Templates > Guide to all Templates > Additional Libraries and Templates > Rich Text Template Support - Overview >====== HideUnhideRTF code template ======|
This template (and its associated code templates) has been deprecated, and is now replaced by the RTF Text Control template.
The HideUnhideRTF code template is used to simply either Hide or Unhide the rich text control. This template calls the ShowControl method. A TRUE value is passed to the method to Unhide the rich text control. A FALSE value is passed to the ShowControl method to Hide the rich text control.
ShowControl( ShowState )
Example method calls:
oRTF_RTFTextBox.ShowControl( 1 ) !Unhide control
oRTF_RTFTextBox.ShowControl( 0 ) !Hide control
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.
Unhide (show) Control?
Check this box to make the control visible (Unhide). If the box is cleared, the control will be hidden at runtime.