ComponentOne True DBInput Pro 8.0
TDBText Control

 

Reference> TDBText Control

TDBText Control

TDBText Control Properties

 

AlignHorizontal

Sets/returns the horizontal alignment of the caption text.

AlignVertical

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

AutoConvert

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

Caption

Sets/returns a caption object.

DropDown

Sets/returns a drop-down object.

DropWndHeight

Sets/returns the pixel height of the drop-down edit window.

DropWndWidth

Sets/returns the pixel width of the drop-down edit window.

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 mask to use in the control.

FormatMode

The FormatMode property returns or sets the input mask mode.

FuriganaOn

Sets/returns whether to invoke the Furigana event.

HighlightText

Returns or sets whether to highlight text in the control.

IMEMode

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

IMEStatus

Returns or sets 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.

LengthAsByte

Retrieves the last day (workday, holiday, weekend) in the specified year.

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.

MaxLength

Returns or sets the maximum number of characters or bytes that the control can hold.

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.

MultiLine

Sets/returns whether the control can accept and display multiple lines of text.

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.

PasswordChar

Sets/returns the character used as a placeholder for the characters typed by the user.

ReadOnly

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

ScrollBarMode

Returns or sets how to display the scroll bars.

ScrollBars

Returns or sets whether the control has horizontal or vertical scroll bars.

SelLength

Returns or sets 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.

ShowContextMenu

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

Text

Sets/returns the text contained in the control.

Version

Returns the version number of the control.

 

TDBText Control Methods

 

AboutBox

Displays the About box for the control.

ClearControl

Clears the control's contents.

Drop

Drop the drop-down edit window to display.

IMEConvert

Start up the IME for converting text string.

OLEDrag

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

Refresh

Forces a complete repaint of the control.

 

TDBText Control Events

 

CloseUp

Occurs when the edit window tries to close.

DBError

Occurs when the data retrieved from a bound data source is outside of the MaxDate and MinDate range, or is an invalid value.

DropOpen

Occurs when the control tries to drop-down.

EditModeChange

Occurs when toggling between insert and overwrite mode.

Furigana

Occurs when confirming data entry with IME.

InvalidInput

Occurs when inputting an invalid character.

KeyExit

Occurs when the focus moves to the next or 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.


TDBText Control Properties

TDBText Control Methods

TDBText Control Events

 

 


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

Product Support Forum  |  Documentation Feedback