ComponentOne True DBInput Pro 8.0
TDBNumLite Control

 

Reference> TDBNumLite Control

TDBNumLite Control

TDBNumLite Control Properties

 

AlignHorizontal

Sets/returns the horizontal alignment of the caption text.

AlignVertical

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

Caption

Sets/returns a caption object.

ClearAction

Sets/returns the clear action for the underlying value.

CurrentPosition

Returns a number that indicates the current position within the control.

Decimal

Returns the decimal value of the entered number.

DecimalPlaces

Sets/returns the number of decimal places allowed for inputting in the control.

DecimalPoint

Sets/returns the character to use as a decimal point.

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.

HighlightText

Sets/returns whether to highlight the text in the control.

Integer

Returns the integer value of the entered number.

IntegerPlaces

Sets/returns the number of integer places allowed for inputting in the control.

Key

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

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.

MaxValue

Sets/returns the maximum value range.

MinusSign

Sets/returns the negative value format.

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.

NegativeColor

Sets/returns the color used when displaying negative values.

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.

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.

Spin

Sets/returns a spin object.

Text

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

Value

Sets/returns the underlying numeric value.

ValueIsNull

Determines whether the Value property is set to NULL.

Version

Returns the version number of the control.

 

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

 

TDBNumLite Control Events

 

DBError

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

EditModeChange

Occurs when toggling between insert and overwrite mode.

InvalidInput

Occurs when inputting an invalid character.

InvalidRange

Occurs when the entered value is outside of the allowed range.

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.

SpinDown

Occurs when the spin down key or button is pressed.

SpinUp

Occurs when the spin up key or button is pressed.

 


TDBNumLite Control Properties

TDBNumLite Control Methods

TDBNumLite Control Events

 

 


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

Product Support Forum  |  Documentation Feedback