Enumerations

Name Values
This class exposes no enumerations.

Constants

Name Type Value
TextHuge Integer 32
TextLarge Integer 18
TextNormal Integer 13
TextSmall Integer 10

Events

Definition Description
ControlReady() Event triggers when the HTML Viewer has finished loading the page, and Quill is ready to use. Use this to notify yourself when HTML Edit has initialized.
TextChanged() This event triggers when the text changes.

Methods

Definition Description
InsertImageWithURL(url as String, optional atPosition as Integer) Insert an image into the content area. atPosition is optional, and if omitted the current cursor location will be used as an insertion point.
InsertLink(url as String, title as String, optional atPosition as Integer) Inserts a link into the content area. atPosition is optional, and if omitted the current cursor location will be used as an insertion point.
SelectAll() Select all contents.
SetFocus() Sets focus on the edit area.

Properties

Name Type Default Value Description
Enabled Boolean True Whether or not the edit field is enabled. Due to current limitations one cannot disable the rich text toolbar, however formatting conditions may not be changed by the user while enabled is false. A fix is being worked on.
HTML String “” Get and set the HTML contents.
Length Integer 0 The number of characters in the editor.
SelBold Boolean False Get and set the bold property for currently selected text. If any portion of the selected text is bold this will return true.
SelItalic Boolean False Get and set the italic property for currently selected text. If any portion of the selected text is italic this will return true.
SelLength Integer 0 The number of highlighted characters.
SelPlain Boolean False If true the selected text is all plain. When setting it will make all selected text plain (unformatted)
SelStart Integer 0 The position of the insertion point. A value of zero is before the first character.
SelStrike Boolean False Get and set the strikethrough property for currently selected text. If any portion of the selected text is struck this will return true.
selText String “” The currently highlighted text. Setting this inserts text into the content.
SelTextColor Color &c000000 Get and set the color property for currently selected text. When getting this value the control will return the first color it encounters in the selected text. If no color is encountered, black is returned.
SelTextSize Integer TextNormal Get and set the text size in pixels for currently selected text. The pixels limitation is from Quill (I prefer setting things in point.) When getting this value, the control will return the first size change it encounters in the selected text. If no size change is encountered the default font size of 12px is returned.
SelUnderline Boolean False Get and set the underline property for currently selected text. If any portion of the selected text is underlined this will return true.
Text String “” Get and set the string contents. Unrelated to the new framework text object.

Examples

There are currently no examples for this class.

Changes to this Page

Date Edit Editor
4/14/2017 Removed kLoopAttempts Constant Anthony G. Cyphers