[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TMaskEdit is an Edit box with characters masked out to avoid unauthorized reading.
Source position: maskedit.pp line 324
type TMaskEdit = class(TCustomMaskEdit) |
||
public |
||
property IsMasked: Boolean; |
|
True if a non-empty value has been assigned to EditMask. |
property EditText: string; |
|
Value entered in the control and obscured / formatted using the EditMask. |
property ValidationErrorMode: TMaskEditValidationErrorMode; |
|
Indicates the action taken when the control value is invalid for its mask. |
published |
||
|
Specifies the placement of the control on its Parent control. |
|
property Alignment: TAlignment; |
|
The horizontal alignment for the text in the control (left, right, or centered). |
|
The set of anchor definitions for this control. |
|
property AutoSelect: Boolean; |
|
Enables auto-selection of text when focused. |
property AutoSize: Boolean; |
|
Allows automatic adjustment of the size for the control, according to its content. |
property BiDiMode: TBiDiMode; |
|
Customization (of text controls) in bidirectional reading environments. |
property BorderSpacing: TControlBorderSpacing; |
|
Determines the inner and outer border spacing for this control. |
property BorderStyle: TBorderStyle; |
|
Indicates the line style drawn as a border around the control. |
property CharCase: TEditCharCase; |
|
Determines the case for the text in the masked edit control. |
|
The background color of the control. |
|
property Constraints: TSizeConstraints; |
|
Contains the minimum and maximum Width and Height for the control. |
property DragCursor: TCursor; |
|
The cursor shape shown while the control is dragged. |
|
The operation when the control is dragged - Drag or Dock. |
|
|
Allows the user to drag the control. |
|
property Enabled: Boolean; |
|
Determines whether the control reacts on mouse or keyboard input. |
|
The font to be used for text display in this control. |
|
property MaxLength: Integer; |
|
Indicates the maximum number of characters that can be stored in the value for the control. |
property ParentBiDiMode: Boolean; |
|
Indicates whether the BiDiMode settings in the Parent control are used. |
property ParentColor: Boolean; |
|
Uses the Color from the Parent control, when enabled. |
property ParentFont: Boolean; |
|
If True, the Font of the control will be the same as the one from the Parent. Default is True. |
property ParentShowHint: Boolean; |
|
If True, the value of ShowHint for the control will be the same as the one from the Parent. Default is True. |
property PopupMenu: TPopupMenu; |
|
A context-sensitive menu that pops up when the right mouse button is clicked over this control. |
property ReadOnly: Boolean; |
|
Indicates if the user is prevented from changing the value for the Text in the control. |
property ShowHint: Boolean; |
|
Flag to determine if the hint is displayed for this control. |
|
Keyboard navigation order for the control when Tab is pressed. |
|
property TabStop: Boolean; |
|
Enables or disables keyboard navigation using the Tab key. |
property Visible: Boolean; |
|
Indicates if the control is visible or hidden. |
property OnChange: TNotifyEvent; |
|
Event handler signalled when the text for the control is changed. |
property OnClick: TNotifyEvent; |
|
Notification handler for mouse clicks. |
property OnDblClick: TNotifyEvent; |
|
Event Handler for double mouse clicks. |
property OnDragDrop: TDragDropEvent; |
|
This handler determines the action on an drop onto this control, in a drag-drop operation. |
property OnDragOver: TDragOverEvent; |
|
Event handler for a control being dragged over this control. |
property OnEditingDone: TNotifyEvent; |
|
Event handler signalled when editing is done. |
property OnEndDock: TEndDragEvent; |
|
Notification handler for the end of a docking operation. |
property OnEndDrag: TEndDragEvent; |
|
Notification handler for the end of a drag operation. |
property OnEnter: TNotifyEvent; |
|
Handler for control receiving the focus. |
property OnExit: TNotifyEvent; |
|
Handler for control loosing the focus; This is a good place for checking the finished user input. |
|
Handles a key down event for the focused control. |
|
property OnKeyPress: TKeyPressEvent; |
|
Handles a key press event for the focused control. |
|
Handles a key up event for the focused control. |
|
property OnMouseDown: TMouseEvent; |
|
Event handler signalled when a mouse down event is handled for the control. |
property OnMouseEnter: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has entered the control. |
property OnMouseLeave: TNotifyEvent; |
|
Event handler signalled when the mouse pointer has left the control. |
property OnMouseMove: TMouseMoveEvent; |
|
Event handler for mouse movement within the control. |
property OnMouseUp: TMouseEvent; |
|
Event handler signalled when a mouse up event is handled for the control. |
property OnMouseWheel: TMouseWheelEvent; |
|
Event handler for mouse wheel turned. |
property OnMouseWheelDown: TMouseWheelUpDownEvent; |
|
Event handler for downward movement of mouse wheel. |
property OnMouseWheelUp: TMouseWheelUpDownEvent; |
|
Event handler for upward movement of the mouse wheel. |
property OnStartDock: TStartDockEvent; |
|
Event handler for the start of a docking operation. |
property OnStartDrag: TStartDragEvent; |
|
Event handler for the start of a dragging operation. |
property OnUTF8KeyPress: TUTF8KeyPressEvent; |
|
Handler for a character entered by the user. |
property EditMask: string; |
|
Contains the mask characters classes and literals used to format/obscure the value for the control. |
|
Contains the value for the control. |
|
property TextHint: TTranslateString; |
|
Default hint text shown when the Text property is empty and the control is not focused. |
property SpaceChar: Char; |
|
Contains the value used to represent Space (#32) characters in the control value. |
end; |
|
TMaskEdit is an Edit box with characters masked out to avoid unauthorized reading. |
|
| | ||
|
The base class for TMaskEdit. |
|
| | ||
|
The base class for controls presenting editable text. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TComponent |
||
? | ||
TObject |
TMaskEdit is used to display an Edit Box with the input text masked by a selected character specified by PasswordChar, usually an asterisk, or by EditMask (a complete string), specified in TCustomMaskEdit.
Useful for inputting passwords or capturing input using a specific format and validation.
|
The base class for TMaskEdit. |