User Guide

172
The following table describes the Style Text Area control:
ActiveX control
The following table describes the ActiveX control:
ActiveX example
<CONTROL NAME="activexGizmoPicker" TYPE="ActiveX"
PROGID="company.Gizmo"/>
<CONTROL TYPE="StyleTextArea" />
SCROLLBAR NONE/HORIZONTAL/VERTICAL/BOTH. Specifies which scrollbars
should be displayed.
WRAP Enables wrapping of text.
Disabled when a horizontal scrollbar is shown with
SCROLLBAR="Horizontal" or SCROLLBAR="Both" even when the
flag is present.
INLINESTYLE YES/NO. Controls whether the Style Editor button edits the
contents of the text area as an "in-line style" or edits the contents as
a full style sheet with multiple selectors. The default mode of the
Style Editor when called from a Tag Editor is as an in-line style
editor, so this attribute must be defined and set to "No" to allow
editing of multiple style sheet rules.
Since only a text area allows multiple lines (while a text box
doesn't), this attribute is valid only for StyleTextArea but not for a
StyleTextBox.
<CONTROL TYPE="ActiveX" />
A container for an embedded ActiveX control. For an ActiveX control to function properly
within a tag editor the ActiveX control must implement four methods:
void SetValue(LPCTSTR sValue) - called to set the control value.
BSTR GetValue() - called to retrieve the control value.
void SetFocus() - called to set focus to the control.
void IntitializeFromMarkup(LPCTSTR strMarkup) called to initialize the ActiveX control
with the CONTROL tag in the Custom Markup application.
PROGID The ProgID of the ActiveX control.