ComponentOne True DBInput Pro 8.0
TDBMask Control

 

Reference> TDBMask Control

TDBMask Control

TDBMask Control Properties

 

AlignHorizontal

Sets/returns the horizontal alignment of the caption text.

AlignVertical

Sets/returns the vertical text alignment displayed in the control.

AllowSpace

Sets/returns whether to allow space input.

AutoConvert

Sets/returns whether to automatically convert the entered characters according to the input mask.

Caption

Sets/returns a caption object.

ClipMode

Sets/returns how data should be copied to the clipboard.

CurrentField

Returns the field where the caret is/was last positioned.

CursorPosition

Sets/returns the cursor position (field) upon receiving focus.

DataProperty

Sets/returns which of the control's data properties will be bound to the data source.

DisplayText

Returns the text displayed in the control.

EditMode

Sets/returns the editing mode for the control.

EditModeStatus

Returns the status of the edit mode.

Enabled

Sets/returns a value that determines whether a control can respond to user-generated events.

ErrorBeep

Sets/returns whether to allow a beep on an error.

Format

Sets/returns the input format to use in the control.

HighlightText

Sets/returns how to select the text in the control.

IMEMode

Sets/returns the default Input Method Editor (IME) mode.

IMEStatus

Sets/returns the conversion status of the Input Method Editor (IME).

Key

The Key:controls object property is used to determine the shortcut keys to be used in the control.

LookupMode

Sets/returns the lookup (reference) mode.

LookupTable

Sets/returns a lookup (reference) table for the fields specified using the DBCS and SBCS keywords.

MarginBottom

Sets/returns the margin space to use at the bottom of the control.

MarginLeft

Sets/returns the left margin space.

MarginRight

Sets/returns the right margin space.

MarginTop

Sets/returns the top margin space.

MoveOnLRKey

Sets/returns whether the focus automatically moves to the next or previous control when the user moves the cursor using the left and the right arrow keys.

OLEDragMode

Sets/returns whether the component or the programmer handles an OLE drag/drop operation.

OLEDropMode

Sets/returns how a target component handles drop operations.

PromptChar

Sets/returns the character to use as a prompt.

ReadOnly

Sets/returns whether the control will be in read-only mode.

SelLength

Sets/returns the number of characters selected.

SelStart

Sets/returns the starting point of text selected; indicates the position of the insertion point if no text is selected.

SelText

Sets/returns the string containing the currently selected text; consists of a zero-length string if no characters are selected.

ShowContextMenu

Sets/returns whether to pop up the editing context menu for the control.

ShowLiterals

Sets/returns whether to display the literals during user entry.

TabAction

Sets/returns whether the tab key will move focus between controls or between fields within the control.

Text

Sets/returns the text, including any literals, of the control.

Value

Returns or sets the value, excluding any literals of the control.

ValueIsFull

Returns whether the control is filled.

Version

Returns the version number of the control.

 

TDBMask Control Methods

 

AboutBox

Displays the About box for the control.

ClearControl

Clears the control's contents.

OLEDrag

Causes a component to initiate an OLE drag/drop operation.

Refresh

Forces a complete repaint of the control.

 

TDBMask Control Events

 

DBError

Occurs when the data retrieved from a bound data source is an invalid value.

EditModeChange

Occurs when toggling between insert and overwrite mode.

InvalidInput

Occurs when inputting an invalid character.

KeyExit

Occurs when the focus moves to the next / previous control in response to arrow keys, and so on.

MouseEnter

Occurs when the mouse first enters the control.

MouseExit

Occurs when the mouse moves out of the control area.

OLECompleteDrag

Occurs at the OLE drag/drop source control after a manual or automatic drag/drop has been completed or canceled.

OLEDragDrop

Occurs when data is dropped onto the control via an OLE drag/drop operation, and OLEDropMode is set to manual.

OLEDragOver

Occurs when the mouse is moved over the control during an OLE drag/drop operation, if its OLEDropMode property is set to manual

OLEGiveFeedback

Occurs at the source control of an OLE drag/drop operation when the mouse cursor needs to be changed.

OLESetData

Occurs at the OLE drag/drop source control when the drop target requests data that was not provided to the DataObject during the OLEDragStart event.

OLEStartDrag

Occurs when an OLE drag/drop operation is initiated.


TDBMask Control Properties

TDBMask Control Methods

TDBMask Control Events

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback