TCnRichTextBox Class

Represents a Windows rich text box control.

Namespace: CNClrLib.Control.RichTextBox
TCustomControl
  CNClrLib.Control.Base.TClrCustomControl
    CNClrLib.Control.TextBoxBase.TCnTextBoxBase
      CNClrLib.Control.RichTextBox.TCnRichTextBox
type
 TCnRichTextBox = class(TCnTextBoxBase)
 end;

The TCnRichTextBox type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnRichTextBox instance. (Overrides TCnTextBoxBase.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnRichTextBox instance. (Overrides TCnTextBoxBase.Destroy.)

Top
Show:
 NameDescription
&ReadOnly

Gets or sets a value indicating whether text in the text box is read-only. (Inherited from TCnTextBoxBase.)

AcceptsTab

Represents property AcceptsTab.

AccessibleDescription

Gets or sets the description of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleName

Gets or sets the name of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleRole

Gets or sets the accessible role of the control (Inherited from TClrCustomControl.)

Align

Determines how the control aligns within its container (parent control). (Inherited from TClrCustomControl.)

Anchors

Specifies how the control is anchored to its parent. (Inherited from TClrCustomControl.)

AutoScrollOffset

Gets or sets where this control is scrolled to in ScrollControlIntoView(Control). (Inherited from TClrCustomControl.)

AutoSize

Specifies whether the control sizes itself automatically to accommodate its contents. (Inherited from TClrCustomControl.)

AutoWordSelection

Gets or sets a value indicating whether automatic word selection is enabled.

BackColor

Represents property BackColor. (Inherited from TCnTextBoxBase.)

BackgroundImage

Gets or sets the background image displayed in the control. (Inherited from TClrCustomControl.)

BackgroundImageLayout

Gets or sets the background image layout as defined in the ImageLayout enumeration. (Inherited from TClrCustomControl.)

BindingContext

Gets or sets the BindingContext for the control. (Inherited from TClrCustomControl.)

BorderStyle

Represents property BorderStyle. (Inherited from TCnTextBoxBase.)

Bottom

Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Inherited from TClrCustomControl.)

Bounds

Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from TClrCustomControl.)

BulletIndent

Gets or sets the indentation used in the TCnRichTextBox control when the bullet style is applied to the text.

CanRedo

Gets a value indicating whether there are actions that have occurred within the TCnRichTextBox that can be reapplied.

CanSelect

Gets a value indicating whether the control can be selected. (Inherited from TClrCustomControl.)

CanUndo

Gets a value indicating whether the user can undo the previous operation in a text box control. (Inherited from TCnTextBoxBase.)

Capture

Gets or sets a value indicating whether the control has captured the mouse. (Inherited from TClrCustomControl.)

CausesValidation

Represents property CausesValidation. (Inherited from TCnTextBoxBase.)

CnDock

Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from TClrCustomControl.)

CompanyName

Gets the name of the company or creator of the application containing the control. (Inherited from TClrCustomControl.)

Constraints

Specifies the size constraints for the control. (Inherited from TClrCustomControl.)

ContainsFocus

Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from TClrCustomControl.)

ControlIntf

Get .Net Control object as interface. (Inherited from TClrCustomControl.)

Controls

Gets the collection of controls contained within the control. (Inherited from TClrCustomControl.)

Created

Gets a value indicating whether the control has been created. (Inherited from TClrCustomControl.)

Cursor

Represents property Cursor. (Inherited from TCnTextBoxBase.)

DataBindings

Gets the data bindings for the control. (Inherited from TClrCustomControl.)

DefaultBackColor

Gets the default background color of the control. (Inherited from TClrCustomControl.)

DefaultClrObject

Gets the common language runtime object from this control. (Inherited from TClrCustomControl.)

DefaultFont

Gets the default font of the control. (Inherited from TClrCustomControl.)

DefaultForeColor

Gets the default foreground color of the control. (Inherited from TClrCustomControl.)

DetectUrls

Gets or sets a value indicating whether or not the TCnRichTextBox will automatically format a Uniform Resource Locator (URL) when it is typed into the control.

DotNetHandle

Gets the window handle that the .Net control is bound to. (Inherited from TClrCustomControl.)

DragCursor

Specifies the image used to represent the mouse pointer when the control is being dragged. (Inherited from TClrCustomControl.)

DragMode

Specifies how the control initiates drag-and-drop or drag-and-dock operations. (Inherited from TClrCustomControl.)

EnableAutoDragDrop

Gets or sets a value that enables drag-and-drop operations on text, pictures, and other data.

Enabled

Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from TClrCustomControl.)

Font

Represents property Font. (Inherited from TCnTextBoxBase.)

ForeColor

Represents property ForeColor. (Inherited from TCnTextBoxBase.)

HasChildren

Gets a value indicating whether the control contains one or more child controls. (Inherited from TClrCustomControl.)

HideSelection

Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. (Inherited from TCnTextBoxBase.)

IsAccessible

Gets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from TClrCustomControl.)

IsHandleCreated

Gets a value indicating whether the control has a handle associated with it. (Inherited from TClrCustomControl.)

IsMirrored

Gets a value indicating whether the control is mirrored. (Inherited from TClrCustomControl.)

LanguageOption

Gets or sets a value that indicates TCnRichTextBox settings for Input Method Editor (IME) and Asian language support.

Lines

Represents property Lines.

Location

Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from TClrCustomControl.)

MaximumSize

Gets or sets the size that is the upper limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

MaxLength

Gets or sets the maximum number of characters the user can type or paste into the rich text box control.

MinimumSize

Gets or sets the size that is the lower limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

Modified

Gets or sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set. (Inherited from TCnTextBoxBase.)

ModifierKeys

Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state. (Inherited from TClrCustomControl.)

MouseButtons

Gets a value indicating which of the mouse buttons is in a pressed state. (Inherited from TClrCustomControl.)

MousePosition

Gets the position of the mouse cursor in screen coordinates. (Inherited from TClrCustomControl.)

MultiLine

Gets or sets a value indicating whether this is a multiline TCnRichTextBox control.

Multiline

Gets or sets a value indicating whether this is a multiline text box control. (Inherited from TCnTextBoxBase.)

OnAcceptsTabChanged

Represents property OnAcceptsTabChanged.

OnBackColorChanged

Represents property OnBackColorChanged. (Inherited from TCnTextBoxBase.)

OnBindingContextChanged

Represents property OnBindingContextChanged. (Inherited from TCnTextBoxBase.)

OnClick

Represents property OnClick. (Inherited from TCnTextBoxBase.)

OnCursorChanged

Represents property OnCursorChanged. (Inherited from TCnTextBoxBase.)

OnDoubleClick

Represents property OnDoubleClick. (Inherited from TCnTextBoxBase.)

OnDragDrop

Occurs when a drag-and-drop operation is completed. (Inherited from TClrCustomControl.)

OnDragOver

Occurs when an object is dragged over the control's bounds. (Inherited from TClrCustomControl.)

OnEndDrag

Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. (Inherited from TClrCustomControl.)

OnEnter

Represents property OnEnter. (Inherited from TCnTextBoxBase.)

OnFontChanged

Represents property OnFontChanged. (Inherited from TCnTextBoxBase.)

OnForeColorChanged

Represents property OnForeColorChanged. (Inherited from TCnTextBoxBase.)

OnKeyDown

Represents property OnKeyDown. (Inherited from TCnTextBoxBase.)

OnKeyPress

Represents property OnKeyPress. (Inherited from TCnTextBoxBase.)

OnKeyUp

Represents property OnKeyUp. (Inherited from TCnTextBoxBase.)

OnLeave

Represents property OnLeave. (Inherited from TCnTextBoxBase.)

OnMouseCaptureChanged

Represents property OnMouseCaptureChanged. (Inherited from TCnTextBoxBase.)

OnMouseClick

Represents property OnMouseClick. (Inherited from TCnTextBoxBase.)

OnMouseDoubleClick

Represents property OnMouseDoubleClick. (Inherited from TCnTextBoxBase.)

OnMouseDown

Represents property OnMouseDown. (Inherited from TCnTextBoxBase.)

OnMouseEnter

Represents property OnMouseEnter. (Inherited from TCnTextBoxBase.)

OnMouseHover

Represents property OnMouseHover. (Inherited from TCnTextBoxBase.)

OnMouseLeave

Represents property OnMouseLeave. (Inherited from TCnTextBoxBase.)

OnMouseMove

Represents property OnMouseMove. (Inherited from TCnTextBoxBase.)

OnMouseUp

Represents property OnMouseUp. (Inherited from TCnTextBoxBase.)

OnMultilineChanged

Represents property OnMultilineChanged.

OnPropertyChange

Occurs when the published property of the control changes. (Inherited from TClrCustomControl.)

OnTextChanged

Represents property OnTextChanged. (Inherited from TCnTextBoxBase.)

PopupMenu

Specifies the pop-up menu associated with the control. (Inherited from TClrCustomControl.)

PreferredHeight

Gets the preferred height for a text box. (Inherited from TCnTextBoxBase.)

ProductName

Gets the product name of the assembly containing the control. (Inherited from TClrCustomControl.)

ProductVersion

Gets the version of the assembly containing the control. (Inherited from TClrCustomControl.)

RedoActionName

Gets the name of the action that can be reapplied to the control when the Redo() method is called.

RichTextShortcutsEnabled

Represents property RichTextShortcutsEnabled.

Right

Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Inherited from TClrCustomControl.)

RightMargin

Gets or sets the size of a single line of text within the TCnRichTextBox control.

Rtf

Gets or sets the text of the TCnRichTextBox control, including all rich text format (RTF) codes.

ScrollBars

Gets or sets the type of scroll bars to display in the TCnRichTextBox control.

SelectedRtf

Gets or sets the currently selected rich text format (RTF) formatted text in the control.

SelectedText

Gets or sets a value indicating the currently selected text in the control. (Inherited from TCnTextBoxBase.)

SelectionAlignment

Gets or sets the alignment to apply to the current selection or insertion point.

SelectionBackColor

Gets or sets the color of text when the text is selected in a TCnRichTextBox control.

SelectionBullet

Gets or sets a value indicating whether the bullet style is applied to the current selection or insertion point.

SelectionCharOffset

Gets or sets whether text in the control appears on the baseline, as a superscript, or as a subscript below the baseline.

SelectionColor

Gets or sets the text color of the current text selection or insertion point.

SelectionFont

Gets or sets the font of the current text selection or insertion point.

SelectionHangingIndent

Gets or sets the distance between the left edge of the first line of text in the selected paragraph and the left edge of subsequent lines in the same paragraph.

SelectionIndent

Gets or sets the length, in pixels, of the indentation of the line where the selection starts.

SelectionLength

Gets or sets the number of characters selected in the text box. (Inherited from TCnTextBoxBase.)

SelectionProtected

Gets or sets a value indicating whether the current text selection is protected.

SelectionRightIndent

The distance (in pixels) between the right edge of the TCnRichTextBox control and the right edge of the text that is selected or added at the current insertion point.

SelectionStart

Gets or sets the starting point of text selected in the text box. (Inherited from TCnTextBoxBase.)

SelectionTabs

Gets or sets the absolute tab stop positions in a TCnRichTextBox control.

SelectionType

Gets the selection type within the control.

ShortcutsEnabled

Gets or sets a value indicating whether the defined shortcuts are enabled. (Inherited from TCnTextBoxBase.)

ShowSelectionMargin

Gets or sets a value indicating whether a selection margin is displayed in the TCnRichTextBox.

Size

Gets or sets the height and width of the control. (Inherited from TClrCustomControl.)

TabOrder

Indicates the position of the control in its parent's tab order. (Inherited from TClrCustomControl.)

TabStop

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from TClrCustomControl.)

Text

Gets or sets the current text in the text box. (Inherited from TCnTextBoxBase.)

TextBoxBase

Get the .Net TextBoxBase object as interface. (Inherited from TCnTextBoxBase.)

TextLength

Gets the length of text in the control. (Inherited from TCnTextBoxBase.)

ToolTip

Associates ToolTip control with this control. (Inherited from TClrCustomControl.)

TooltipText

The ToolTip text to display when the pointer is on the control. (Inherited from TClrCustomControl.)

UndoActionName

Gets the name of the action that can be undone in the control when the Undo() method is called.

UseWaitCursor

Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from TClrCustomControl.)

Visible

Gets or sets a value indicating whether the control and all its child controls are displayed. (Inherited from TClrCustomControl.)

WordWrap


ZoomFactor

Gets or sets the current zoom level of the TCnRichTextBox.

Top
Show:
 NameDescription
AdjustSize

Adjusts the control's size according to its contents and constraints. (Inherited from TClrCustomControl.)

AppendText(String)

Appends text to the current text of a text box. (Inherited from TCnTextBoxBase.)

CanAutoSize(Integer,Integer)

Indicates how the control can be resized. (Inherited from TClrCustomControl.)

CanFocus

Indicates whether a control can receive focus. (Inherited from TClrCustomControl.)

CanPaste(_DataFormats_Format)

Determines whether you can paste information from the Clipboard in the specified data format.

CanResize(Integer,Integer)

Indicates how the control can respond to a resize attempt (Inherited from TClrCustomControl.)

ChangeScale(Integer,Integer)

Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed. (Inherited from TClrCustomControl.)

Clear

Clears all text from the text box control. (Inherited from TCnTextBoxBase.)

ClearUndo

Clears information about the most recent operation from the undo buffer of the text box. (Inherited from TCnTextBoxBase.)

Copy

Copies the current selection in the text box to the Clipboard. (Inherited from TCnTextBoxBase.)

CreateControl

Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from TClrCustomControl.)

CreateGraphics

Creates the Graphics for the control. (Inherited from TClrCustomControl.)

CreateHandle

Creates a handle for the control. (Inherited from TClrCustomControl.)

CreateParams(TCreateParams)

Initializes the window-creation parameter record when the form window is created. (Inherited from TClrCustomControl.)

Cut

Moves the current selection in the text box to the Clipboard. (Inherited from TCnTextBoxBase.)

DblClick

OnDblClick event dispatcher. (Inherited from TClrCustomControl.)

DeselectAll

Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control. (Inherited from TCnTextBoxBase.)

DoAddDockClient(TControl,TRect)

Performs actions when a control is docked to the windowed control. (Inherited from TClrCustomControl.)

DoBackColorChange(TObject)

Performs actions when a control BackColor changes. (Inherited from TClrCustomControl.)

DoBackgroundImageChange(TObject)

Performs actions when a control BackgroundImage changes. (Inherited from TClrCustomControl.)

DockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Responds when a docking client is dragged over the windowed control. (Inherited from TClrCustomControl.)

DockReplaceDockClient(TControl,TWinControl,TControl,TAlign,TControl)

Invalidates the first dock site in the list of child controls. (Inherited from TClrCustomControl.)

DoDockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Generates an OnDockOver event. (Inherited from TClrCustomControl.)

DoEnter

Respond to receiving input focus. (Inherited from TClrCustomControl.)

DoExit

Responds to losing input focus. (Inherited from TClrCustomControl.)

DoFontChange(TObject)

Performs actions when a control Font changes. (Inherited from TClrCustomControl.)

DoForeColorChange(TObject)

Performs actions when a control ForeColor changes. (Inherited from TClrCustomControl.)

DoGetControlClientRectangle

Gets the rectangle that represents the client area of the control. (Overrides TClrCustomControl.DoGetControlClientRectangle.)

DoGetDefaultBorderStyle

Gets the default border type of the control. (Overrides TClrCustomControl.DoGetDefaultBorderStyle.)

DoGetDotNetBaseControl

Gets the base .Net control. (Overrides TClrCustomControl.DoGetDotNetBaseControl.)

DoGetDotNetControlDefaultHeight

Gets the default height of the control. (Overrides TCnTextBoxBase.DoGetDotNetControlDefaultHeight.)

DoGetDotNetControlDefaultWidth

Gets the default Width of the control. (Overrides TCnTextBoxBase.DoGetDotNetControlDefaultWidth.)

DoGetDotNetControlHandle

Gets the window handle that the control is bound to. (Inherited from TClrCustomControl.)

DoGetTextBoxBase

Get the base .Net TextBoxBase object from the control. (Overrides TCnTextBoxBase.DoGetTextBoxBase.)

DoInitializeDotNetControl

Creates and initializes the .Net control. (Inherited from TClrCustomControl.)

DoLocationChange(TObject)

Performs actions when a control Location changes. (Inherited from TClrCustomControl.)

DoMaximumSizeChange(TObject)

Performs actions when a control MaximumSize changes. (Inherited from TClrCustomControl.)

DoMinimumSizeChange(TObject)

Performs actions when a control MinimumSize changes. (Inherited from TClrCustomControl.)

DoMouseWheel(TShiftState,Integer,TPoint)

Processes mouse wheel motion. (Inherited from TClrCustomControl.)

DoMouseWheelDown(TShiftState,TPoint)

Is an OnMouseWheelDown event dispatcher. (Inherited from TClrCustomControl.)

DoMouseWheelUp(TShiftState,TPoint)

Is an OnMouseWheelUp event dispatcher. (Inherited from TClrCustomControl.)

DoOnLineChange(TObject)

Represents method DoOnLineChange(TObject). (Inherited from TCnTextBoxBase.)

DoOnSelectionBackColorChanged(TObject)

Represents method DoOnSelectionBackColorChanged(TObject).

DoOnSelectionColorChanged(TObject)

Represents method DoOnSelectionColorChanged(TObject).

DoOnSelectionFontChanged(TObject)

Represents method DoOnSelectionFontChanged(TObject).

DoSetControlBorderStyle(TBorderStyle_)

Sets the border type of the control. (Overrides TClrCustomControl.DoSetControlBorderStyle(TBorderStyle_).)

DoSetControlStyles(TControlStyles_Set,Boolean)

Set the style of the control. (Inherited from TClrCustomControl.)

DoSetDotNetControlParent

Specifies the parent of the control. (Inherited from TClrCustomControl.)

DoShowContextMenu(TPoint)

Represents method DoShowContextMenu(TPoint). (Inherited from TClrCustomControl.)

DoSizeChange(TObject)

Performs actions when a control Size changes. (Inherited from TClrCustomControl.)

DoSupportTextProperty

Check if the Text property is supported by the control. (Inherited from TClrCustomControl.)

DoUseClrContainer

Specify whether to use the common language runtime usercontrol container to host the .Net control. (Overrides TClrCustomControl.DoUseClrContainer.)

DrawToBitmap(TBitmap,TRect)

Supports rendering to the specified bitmap. (Inherited from TClrCustomControl.)

Find(String)

Overloaded. Searches the text in a TCnRichTextBox control for a string.

Find(String,Integer,Integer,TRichTextBoxFinds_Set)

Overloaded. Searches the text in a TCnRichTextBox control for a string within a range of text within the control and with specific options applied to the search.

Find(String,Integer,TRichTextBoxFinds_Set)

Overloaded. Searches the text in a TCnRichTextBox control for a string at a specific location within the control and with specific options applied to the search.

Find(String,TRichTextBoxFinds_Set)

Overloaded. Searches the text in a TCnRichTextBox control for a string with specific options applied to the search.

Find(TArray)

Overloaded. Searches the text of a TCnRichTextBox control for the first instance of a character from a list of characters.

Find(TArray,Integer)

Overloaded. Searches the text of a TCnRichTextBox control, at a specific starting point, for the first instance of a character from a list of characters.

Find(TArray,Integer,Integer)

Overloaded. Searches a range of text in a TCnRichTextBox control for the first instance of a character from a list of characters.

Find(_CharArray)

Overloaded. Searches the text of a TCnRichTextBox control for the first instance of a character from a list of characters.

Find(_CharArray,Integer)

Overloaded. Searches the text of a TCnRichTextBox control, at a specific starting point, for the first instance of a character from a list of characters.

Find(_CharArray,Integer,Integer)

Overloaded. Searches a range of text in a TCnRichTextBox control for the first instance of a character from a list of characters.

Focus

Sets input focus to the control. (Inherited from TClrCustomControl.)

Focused

Determines whether the control has input focus. (Inherited from TClrCustomControl.)

GetCharFromPosition(Integer,Integer)

Overloaded. Retrieves the character that is closest to the specified location within the control. (Inherited from TCnTextBoxBase.)

GetCharFromPosition(_Point)

Overloaded. Retrieves the character that is closest to the specified location within the control. (Inherited from TCnTextBoxBase.)

GetCharIndexFromPosition(Integer,Integer)

Overloaded. Retrieves the index of the character nearest to the specified location. (Inherited from TCnTextBoxBase.)

GetCharIndexFromPosition(_Point)

Overloaded. Retrieves the index of the character nearest to the specified location. (Inherited from TCnTextBoxBase.)

GetClrObject

Get the common language runtime object from the internal control interface. (Inherited from TClrCustomControl.)

GetFirstCharIndexFromLine(Integer)

Retrieves the index of the first character of a given line. (Inherited from TCnTextBoxBase.)

GetFirstCharIndexOfCurrentLine

Retrieves the index of the first character of the current line. (Inherited from TCnTextBoxBase.)

GetLineFromCharIndex(Integer)

Retrieves the line number from the specified character position within the text of the control. (Inherited from TCnTextBoxBase.)

GetPositionFromCharIndex(Integer)

Retrieves the location within the control at the specified character index. (Inherited from TCnTextBoxBase.)

Invalidate

Overloaded. Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from TClrCustomControl.)

Invalidate(Boolean)

Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect,Boolean)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

IsKeyLocked(TKeys_Set)

Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect. (Inherited from TClrCustomControl.)

IsMnemonic(WCHAR,String)

Determines if the specified character is the mnemonic character assigned to the control in the specified string. (Inherited from TClrCustomControl.)

KeyDown(Word,TShiftState)

Responds to key press events. (Inherited from TClrCustomControl.)

KeyPress(Char)

Responds to keyboard input. (Inherited from TClrCustomControl.)

KeyUp(Word,TShiftState)

Respond to released key. (Inherited from TClrCustomControl.)

LoadFile(String)

Overloaded. Loads a rich text format (RTF) or standard ASCII text file into the TCnRichTextBox control.

LoadFile(String,TRichTextBoxStreamType)

Overloaded. Loads a specific type of file into the TCnRichTextBox control.

LoadFile(TStream,TRichTextBoxStreamType)

Overloaded. Loads the contents of an existing data stream into the TCnRichTextBox control.

LoadFile(_Stream,TRichTextBoxStreamType)

Overloaded. Loads the contents of an existing data stream into the TCnRichTextBox control.

MouseDown(TMouseButton,TShiftState,Integer,Integer)

OnMouseDown event dispatcher. (Inherited from TClrCustomControl.)

MouseMove(TShiftState,Integer,Integer)

Responds to mouse moving over control area. (Inherited from TClrCustomControl.)

MouseUp(TMouseButton,TShiftState,Integer,Integer)

Is an OnMouseUp event dispatcher. (Inherited from TClrCustomControl.)

Notification(TComponent,TOperation)

Represents method Notification(TComponent,TOperation). (Inherited from TClrCustomControl.)

Paint

Renders the image of a windowed control. (Inherited from TClrCustomControl.)

Paste(_DataFormats_Format)

Pastes the contents of the Clipboard in the specified Clipboard format.

PerformLayout

Overloaded. Forces the control to apply layout logic to all its child controls. (Inherited from TClrCustomControl.)

PropertyChanged

Responds to change in the published properties of the control. (Inherited from TClrCustomControl.)

QueryInterface(TGUID,Void)

Returns a reference to a specified interface if that interface is supported by the control. (Inherited from TClrCustomControl.)

Redo

Reapplies the last operation that was undone in the control.

Refresh

Forces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from TClrCustomControl.)

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrCustomControl.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrCustomControl.)

Repaint

Repaints the entire control. (Inherited from TClrCustomControl.)

ResetBackColor

Resets the BackColor property to its default value. (Inherited from TClrCustomControl.)

ResetBindings

Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values (Inherited from TClrCustomControl.)

ResetCursor

Resets the Cursor property to its default value. (Inherited from TClrCustomControl.)

ResetFont

Resets the Font property to its default value. (Inherited from TClrCustomControl.)

ResumeLayout

Overloaded. Resumes usual layout logic. (Inherited from TClrCustomControl.)

ResumeLayout(Boolean)

Overloaded. Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from TClrCustomControl.)

SaveFile(String)

Overloaded. Saves the contents of the TCnRichTextBox to a rich text format (RTF) file.

SaveFile(String,TRichTextBoxStreamType)

Overloaded. Saves the contents of the TCnRichTextBox to a specific type of file.

SaveFile(TStream,TRichTextBoxStreamType)

Overloaded. Saves the contents of a TCnRichTextBox control to an open data stream.

SaveFile(_Stream,TRichTextBoxStreamType)

Overloaded. Saves the contents of a TCnRichTextBox control to an open data stream.

Scale(TSizeF)

Scales the control and all child controls by the specified scaling factor. (Inherited from TClrCustomControl.)

ScrollToCaret

Scrolls the contents of the control to the current caret position. (Inherited from TCnTextBoxBase.)

Select(Integer,Integer)

Selects a range of text in the text box. (Inherited from TCnTextBoxBase.)

SelectAll

Selects all text in the text box. (Inherited from TCnTextBoxBase.)

SetAutoSize(Boolean)

Sets the value of the AutoSize property. (Inherited from TClrCustomControl.)

SetBorderStyle(TBorderStyle)

Sets the value of the BorderStyle property. (Inherited from TClrCustomControl.)

SetBounds(Integer,Integer,Integer,Integer)

Sets the windowed control's boundary properties all at once. (Inherited from TClrCustomControl.)

SetName(TComponentName)

Sets the name of the control. (Inherited from TClrCustomControl.)

SetText(String)

Sets the text of the control. (Inherited from TClrCustomControl.)

SuspendLayout

Temporarily suspends the layout logic for the control. (Inherited from TClrCustomControl.)

Undo

Undoes the last edit operation in the text box. (Inherited from TCnTextBoxBase.)

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrCustomControl.)

UnRegisterEventSource

Represents method UnRegisterEventSource. (Inherited from TClrCustomControl.)

Update

Causes the control to redraw the invalidated regions within its client area. (Inherited from TClrCustomControl.)

UpdateDotNetControlSize

Updates .Net control size. (Inherited from TClrCustomControl.)

UpdateStyleElements

Invalidates a specific region of the control and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

WndProc(TMessage)

Provides specific message responses for the control. (Inherited from TClrCustomControl.)

_AddRef

Called when an application uses a component interface. (Inherited from TClrCustomControl.)

_Release

Called when an application releases a component interface. (Inherited from TClrCustomControl.)

Top
Show:
 NameDescription
OnBackgroundImageChanged

Occurs when the value of the BackgroundImage property changes. (Inherited from TClrCustomControl.)

OnBorderStyleChanged

Represents property OnBorderStyleChanged. (Inherited from TCnTextBoxBase.)

OnCausesValidationChanged

Occurs when the value of the CausesValidation property changes. (Inherited from TClrCustomControl.)

OnClientSizeChanged

Occurs when the value of the ClientSize property changes. (Inherited from TClrCustomControl.)

OnContentsResized

Occurs when contents within the control are resized.

OnEnabledChanged

Occurs when the Enabled property value has changed. (Inherited from TClrCustomControl.)

OnGotFocus

Occurs when the control receives focus. (Inherited from TClrCustomControl.)

OnHideSelectionChanged

Occurs when the value of the HideSelection property has changed. (Inherited from TCnTextBoxBase.)

OnHScroll

Occurs when the user clicks the horizontal scroll bar of the control.

OnImeChange

Occurs when the user switches input methods on an Asian version of the Windows operating system.

OnInvalidated

Occurs when a control's display requires redrawing. (Inherited from TClrCustomControl.)

OnLinkClicked

Occurs when the user clicks on a link within the text of the control.

OnLostFocus

Occurs when the control loses focus. (Inherited from TClrCustomControl.)

OnModifiedChanged

Occurs when the value of the Modified property has changed. (Inherited from TCnTextBoxBase.)

OnMouseWheel

Occurs when the mouse wheel moves while the control has focus. (Inherited from TClrCustomControl.)

OnMove

Occurs when the control is moved. (Inherited from TClrCustomControl.)

OnPaint

Occurs when the control is redrawn. (Inherited from TClrCustomControl.)

OnPreviewKeyDown

Occurs before the OnKeyDown event when a key is pressed while focus is on this control. (Inherited from TClrCustomControl.)

OnProtected

Occurs when the user attempts to modify protected text in the control.

OnReadOnlyChanged

Occurs when the value of the ReadOnly property has changed. (Inherited from TCnTextBoxBase.)

OnResize

Occurs when the control is resized. (Inherited from TClrCustomControl.)

OnSelectionChanged

Occurs when the selection of text within the control has changed.

OnSizeChanged

Occurs when the Size property value changes. (Inherited from TClrCustomControl.)

OnSystemColorsChanged

Occurs when the system colors change. (Inherited from TClrCustomControl.)

OnTabIndexChanged

Occurs when the TabOrder/TabIndex property value changes. (Inherited from TClrCustomControl.)

OnTabStopChanged

Occurs when the TabStop property value changes. (Inherited from TClrCustomControl.)

OnValidated

Occurs when the control is finished validating. (Inherited from TClrCustomControl.)

OnValidating

Occurs when the control is validating. (Inherited from TClrCustomControl.)

OnVisibleChanged

Occurs when the Visible property value changes. (Inherited from TClrCustomControl.)

OnVScroll

Occurs when the user clicks the vertical scroll bars of the control.

Top

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this control.