ComponentOne True DBInput Pro 8.0
TDBNumber Control

 

Reference> TDBNumber Control

TDBNumber Control

TDBNumber Control Properties

 

AlignHorizontal

Sets/returns the horizontal alignment of the caption text.

AlignVertical

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

BtnPositioning

Sets/returns where to position the spin and drop-down button.

Calculator

Calculator Object.

Caption

Sets/returns a caption object.

ClearAction

Sets/returns the clear action for the underlying value.

ClipMode

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

CurrentPosition

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

Decimal

Returns the decimal value of the entered number.

DecimalPoint

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

DisplayFormat

Sets/returns the display format used in the control.

DisplayText

Returns the text displayed in the control.

DropDown

Sets/returns a drop-down object.

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 whether to highlight the text in the control.

Integer

Returns the integer value of the entered number.

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.

MinValue

Sets/returns the minimum value range.

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.

Separator

Sets/returns the character to use as a thousands separator.

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.

 

TDBNumber Control Methods

 

AboutBox

Displays the About box for the control.

ClearControl

Clears the control's contents.

Drop

Drops the drop-down Calculator to display.

OLEDrag

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

Refresh

Forces a complete repaint of the control.

 

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


TDBNumber Control Properties

TDBNumber Control Methods

TDBNumber Control Events

 

 


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

Product Support Forum  |  Documentation Feedback