TCnMaskedTextBox Class

Uses a mask to distinguish between proper and improper user input.

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

The TCnMaskedTextBox type exposes the following members.

Show:
 NameDescription
Create(TComponent)

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

Destroy

Frees the resources allocated with a TCnMaskedTextBox 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

Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order. (Inherited from TCnTextBoxBase.)

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.)

AllowPromptAsInput

Gets or sets a value indicating whether PromptChar can be entered as valid data by the user.

Anchors

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

AsciiOnly

Gets or sets a value indicating whether the TCnMaskedTextBox control accepts characters outside of the ASCII character set.

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.)

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.)

BeepOnError

Gets or sets a value indicating whether the masked text box control raises the system beep for each user key stroke that it rejects.

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.)

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.)

Culture

Gets or sets the culture information associated with the masked text box.

Cursor

Represents property Cursor. (Inherited from TCnTextBoxBase.)

CutCopyMaskFormat

Gets or sets a value that determines whether literals and prompt characters are copied to the clipboard.

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.)

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.)

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.)

FormatProvider

Gets or sets the IFormatProvider to use when performing type validation.

HasChildren

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

HidePromptOnLeave

Gets or sets a value indicating whether the prompt characters in the input mask are hidden when the masked text box loses focus.

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.)

InsertKeyMode

Gets or sets the text insertion mode of the masked text box control.

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.)

IsOverwriteMode

Gets a value that specifies whether new user input overwrites existing input.

Lines

Gets or sets the lines of text in a text box control. (Inherited from TCnTextBoxBase.)

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.)

Mask

Gets or sets the input mask to use at run time.

MaskCompleted

Gets a value indicating whether all required inputs have been entered into the input mask.

MaskedTextProvider

Gets a clone of the mask provider associated with this instance of the masked text box control.

MaskFull

Gets a value indicating whether all required and optional inputs have been entered into the input mask.

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 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 indicating whether this is a multiline text box control.

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 text box control. (Inherited from TCnTextBoxBase.)

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.)

OnPropertyChange

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

OnTextChanged

Represents property OnTextChanged. (Inherited from TCnTextBoxBase.)

PasswordChar

Gets or sets the character to be displayed in substitute for user input.

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.)

PromptChar

Gets or sets the character used to represent the absence of user input in MaskedTextBox.

RejectInputOnFirstFailure

Gets or sets a value indicating whether the parsing of user input should stop after the first invalid character is reached.

ResetOnPrompt

Gets or sets a value that determines how an input character that matches the prompt character should be handled.

ResetOnSpace

Gets or sets a value that determines how a space input character should be handled.

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.)

SelectedText

Gets or sets the current selection in the TCnMaskedTextBox control.

SelectionLength

Represents property SelectionLength.

SelectionStart

Represents property SelectionStart.

ShortcutsEnabled

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

Size

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

SkipLiterals

Gets or sets a value indicating whether the user is allowed to reenter literal values.

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.)

TextAlign

Gets or sets how text is aligned in a masked text box control.

TextBoxBase

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

TextLength

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

TextMaskFormat

Gets or sets a value that determines whether literals and prompt characters are included in the formatted string.

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.)

UseSystemPasswordChar

Gets or sets a value indicating whether the operating system-supplied password character should be used.

UseWaitCursor

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

ValidatingType

Gets or sets the data type used to verify the data input by the user.

Visible

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

WordWrap

Indicates whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. (Inherited from TCnTextBoxBase.)

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.)

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 TClrCustomControl.DoGetDotNetControlDefaultHeight.)

DoGetDotNetControlDefaultWidth

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

DoGetDotNetControlHandle

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

DoGetTextBoxBase

Get the base .Net TextBoxBase object. (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.)

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.)

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.)

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

Replaces the current selection in the text box with the contents of the Clipboard. (Inherited from TCnTextBoxBase.)

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.)

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.)

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.)

ValidateText

Converts the user input string to an instance of the validating type.

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
OnAcceptsTabChanged

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

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.)

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.)

OnInvalidated

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

OnIsOverwriteModeChanged

Occurs after the insert mode has changed.

OnLostFocus

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

OnMaskChanged

Occurs after the input mask is changed.

OnMaskInputRejected

Occurs when the user's input or assigned character does not match the corresponding format element of the input mask.

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.)

OnMultilineChanged

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

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.)

OnReadOnlyChanged

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

OnResize

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

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.)

OnTextAlignChanged

Occurs when the text alignment is changed.

OnTypeValidationCompleted

Occurs when TCnMaskedTextBox has finished parsing the current value using the ValidatingType property.

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.)

Top

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