Display and edit built-in HTML without relying on Internet Explorer. exHTML is a display/edit engine for built-in HTML. It is written from scratch in C++/C#. It does not rely on IE for rendering HTML, and its functionality is similar to a Web browser for display/edit purposes. exHTML can be used for the provision of extremely flexible user interfaces generated on demand. It can also function as a complex layout management system for text, controls, and graphics. The control doesn't require additional files or libraries like MFC, VB or anything else, and does not subclass the system's EDIT window class.
The HTML object supports the following properties and methods:
| | Name | Description | |
| | AllowContextMenu | Specifies whether the control's default context menu is available. | |
| | AllowFind | Specifies whether control displays a find dialog when user presses CTRL+F key. | |
| | AllowIncrementalSearch | Specifies whether the control allows incremental search. | |
| | AllowOvertype | Specifies whether the control allows overtype or insert mode. | |
| | AllowReplace | Specifies whether control displays a replace dialog when user presses CTRL+H key. | |
| | AllowShortcutFormat | Enables or disables shortcuts for formatting operations like bold, italic, underline or strikeout. | |
| | AllowUndoRedo | Specifies whether the control allows undo/redo actions. | |
| | AnchorFromPoint | Retrieves the identifier of the anchor from point. | |
| | Appearance | Retrieves or sets the control's appearance. | |
| | ApplyColors | Specifies whether the control applies the HTML colors. | |
| | AttachTemplate | Attaches a script to the current object, including the events, from a string, file, a safe array of bytes. | |
| | AutoIndent | Specifies whether the control indents the line when ENTER key is pressed. | |
| | BackColor | Specifies the control's background color. | |
| | BackColorAlternate | Returns or sets the background color used to display alternate lines in the control. | |
| | BackColorCaretLine | Returns or sets the background color used to display the cursor line. | |
| | BackColorLocked | Retrieves or sets a value that indicates the control's background color when it is locked. | |
| | Background | Returns or sets a value that indicates the background color for parts in the control. | |
| | BeginUpdate | Maintains performance while multiple changes are applied to the control one at a time. This method prevents the control from painting until the EndUpdate method is called. | |
| | BookMarkBackColor | Specifies the bookmark bar background's color. | |
| | BookMarkBackColor2 | Specifies the bookmark bar background's color. | |
| | BookmarkBorderColor | Specifies the color for bookmark's border. | |
| | BookmarkImage | Specifies the index of image being displayed when the line has a bookmark. | |
| | BookmarkWidth | Specifies the bookmarks border's width. | |
| | BorderHeight | Sets or retrieves a value that indicates the border height of the control. | |
| | BorderWidth | Sets or retrieves a value that indicates the border width of the control. | |
| | CanRedo | Determines if the redo queue contains any actions. | |
| | CanUndo | Determines whether the last edit operation can be undone. | |
| | Caption | Specifies the caption for a field on the Find or Replace dialog. | |
| | ClientPos | Returns the position of the mouse pointer inside the text. | |
| | CloseBrackets | Specifies the list of closed brackets. | |
| | ContextMenuItems | Specifies the control's context menu. | |
| | CursorEnd | Gives the ending position of the text. | |
| | CursorPos | Returns or sets the position of the cursor inside the text. | |
| | CursorStart | Gives the starting position of the text. | |
| | CursorText | Gets or sets the text between giving coordinates, formatted or unformatted. | |
| | DisplaySelection | Specifies whether the control displays the selection. | |
| | DrawGridLines | Returns or sets a value that determines whether lines are drawn between rows, or unpopulated areas. | |
| | EditType | Specifies whether the control displays plain text, highlighted plain text or HTML text. | |
| | Enabled | Enables or disables the control. | |
| | EndUpdate | Resumes painting the control after painting is suspended by the BeginUpdate method. | |
| | EventParam | Retrieves or sets a value that indicates the current's event parameter. | |
| | ExecuteTemplate | Executes a template and returns the result. | |
| | Find | Finds a string and selects the string if it is found. | |
| | Font | Retrieves or sets the control's font. | |
| | ForeColor | Specifies the control's foreground color. | |
| | ForeColorLocked | Retrieves or sets a value that indicates the control's foreground color when it is locked. | |
| | FormatABC | Formats the A,B,C values based on the giving expression and returns the result. | |
| | FormatAnchor | Specifies the visual effect for anchor elements in HTML captions. | |
| | FormatSelection | Formats the current selection. | |
| | FreezeEvents | Prevents the control to fire any event. | |
| | HideSelection | Specifies whether the selection in the control is hidden when the control loses the focus. | |
| | HTML | Specifies the control's standard HTML format. | |
| | HTMLPicture | Adds or replaces a picture in HTML captions. | |
| | hWnd | Retrieves the control's window handle. | |
| | Images | Sets at runtime the control's image list. The Handle should be a handle to an Images List Control. | |
| | ImageSize | Retrieves or sets the size of icons the control displays. | |
| | IncrementalSearchError | Retrieves or sets a value that specifies the color to show the 'Incremental Search' field when the typing string is not found. | |
| | IndentOnTab | Indicates that the selection is indented as soon as user presses the TAB key. | |
| | IndentSel | Indents the selection. | |
| | LineNumberBackColor | Specifies the background color of the line number bar. | |
| | LineNumberBorderColor | Specifies the color for line number's border. | |
| | LineNumberFont | Retrieves or sets the font of the line numbers bar. | |
| | LineNumberForeColor | Specifies the foreground color of the line number bar. | |
| | LineNumberWidth | Specifies the width of the border where the line numbers are shown. | |
| | Locked | Determines whether a control can be edited. | |
| | OLEDrag | Causes a component to initiate an OLE drag/drop operation. | |
| | OLEDropMode | Returns or sets how a target component handles drop operations | |
| | OpenBrackets | Specifies the list of opened brackets. | |
| | Overtype | Specifies whether the control is running in overtype mode. | |
| | Picture | Retrieves or sets a graphic to be displayed in the control. | |
| | PictureDisplay | Retrieves or sets a value that indicates the way how the graphic is displayed on the control's background | |
| | PositionToX | Converts the cursor position to x-coordinate (column). | |
| | PositionToXY | Converts the cursor position to (x,y)-coordinates (column,line). | |
| | PositionToY | Converts the cursor position to y-coordinate (line). | |
| | Refresh | Refreses the control. | |
| | ReplaceIcon | Adds a new icon, replaces an icon or clears the control's image list. | |
| | ScrollBars | Specifies the type of scroll bars that control has. | |
| | ScrollButtonHeight | Specifies the height of the button in the vertical scrollbar. | |
| | ScrollButtonWidth | Specifies the width of the button in the horizontal scrollbar. | |
| | ScrollFont | Retrieves or sets the scrollbar's font. | |
| | ScrollHeight | Specifies the height of the horizontal scrollbar. | |
| | ScrollOrderParts | Specifies the order of the buttons in the scroll bar. | |
| | ScrollPartCaption | Specifies the caption being displayed on the specified scroll part. | |
| | ScrollPartCaptionAlignment | Specifies the alignment of the caption in the part of the scroll bar. | |
| | ScrollPartEnable | Indicates whether the specified scroll part is enabled or disabled. | |
| | ScrollPartVisible | Indicates whether the specified scroll part is visible or hidden. | |
| | ScrollThumbSize | Specifies the size of the thumb in the scrollbar. | |
| | ScrollToolTip | Specifies the tooltip being shown when the user moves the scroll box. | |
| | ScrollWidth | Specifies the width of the vertical scrollbar. | |
| | SelBackColor | Specifies the selection's background color. | |
| | SelBackColorHide | Specifies the selection's background color, when the control has no focus, and the HideSelection property is False. | |
| | SelForeColor | Specifies the selection's foreground color. | |
| | SelForeColorHide | Specifies the selection's foreground color, when the control has no focus, and the HideSelection property is False. | |
| | SelHTML | Specifies the control's selection in standard HTML format. | |
| | SelLength | Returns or sets the number of characters selected. | |
| | SelStart | Returns or sets the starting point of text selected; indicates the position of the insertion point if no text is selected. | |
| | SelText | Returns or sets the string containing the currently selected text. | |
| | ShowCaret | Specifies whether the control's caret is visible or hidden. | |
| | ShowImageList | Specifies whether the control's image list window is visible or hidden. | |
| | ShowToolTip | Shows the specified tooltip at given position. | |
| | SingleLine | Specifies whether the control's text is displayed on single or multiple lines. | |
| | Template | Specifies the control's template. | |
| | TemplateDef | Defines inside variables for the next Template/ExecuteTemplate call. | |
| | TemplatePut | Defines inside variables for the next Template/ExecuteTemplate call. | |
| | Text | Specifies the control's text. | |
| | TextScrollHeight | Returns the measurement of the height of the control's Text, including content not visible on the screen due to overflow. | |
| | TextScrollWidth | Returns the measurement of the width of the control's Text, including content not visible on the screen due to overflow. | |
| | ToolBarAnchor | Gets or sets the edge of the control to which the toolbar is bound and determines how the toolbar is resized with its control. | |
| | ToolBarBorderSize | Specifies the size of the border of the control's toolbar. | |
| | ToolBarHTMLPicture | Adds or replaces a picture in HTML captions (toolbar). | |
| | ToolBarImages | Sets at runtime the toolbar's image list. The Handle should be a handle to an Images List Control. | |
| | ToolBarItems | Specifies the control's toolbar format. | |
| | ToolBarReplaceIcon | Adds a new icon, replaces an icon or clears the toolbar's image list. | |
| | ToolBarSize | Specifies the size of the control's toolbar. | |
| | ToolTipDelay | Specifies the time in ms that passes before the ToolTip appears. | |
| | ToolTipFont | Retrieves or sets the tooltip's font. | |
| | ToolTipPopDelay | Specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. | |
| | ToolTipWidth | Specifies a value that indicates the width of the tooltip window, in pixels. | |
| | UseTabKey | Specifies whether the control uses the TAB key. | |
| | Version | Retrieves the control's version. | |
| | VisualAppearance | Retrieves the control's appearance. | |
| | WordWrap | Indicates whether a multiline edit control automatically wraps words to the beginning of the next line when necessary. | |
| | XYToPosition | Converts the (x,y)-coordinates (column,line) to cursor position. | |