ComponentOne True DBInput Pro 8.0
TDBTime Control

 

Reference> TDBTime Control

TDBTime Control

TDBTime Control Properties

 

AlignHorizontal

Sets/returns the horizontal alignment of the caption text.

AlignVertical

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

AMPM

Returns the appropriate character describing A.M. or P.M. for the current time value.

Appearance

Specifies the appearance of the control such as alignment, border styles and margin settings.

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.

DisplayFormat

Sets/returns the display format used in the control.

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

The Format property is specified by creating a mask using keywords and literals.

HighlightText

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

Hour

Returns the "Hour" portion of the entered time.

Hour12Mode

Sets/returns the range of time values that can be entered in 12-hour format.

IMEMode

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

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.

MaxTime

Sets/returns the maximum time range.

MidnightMode

Sets/returns how to express midnight.

MinTime

Sets/returns the minimum time range.

Minute

Returns the minute portion of the entered time.

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.

MousePointer

Indicates changes in functionality as the mouse pointer passes over controls on a form or dialog box.

Number

Sets/returns the time value in long integer format.

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.

Second

Returns the Second portion of the entered time.

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

Returns the underlying time value in text format, including any literals.

ValidateMode

Sets/returns the validation mode for the control during input.

Value

This property returns or sets the underlying time serial value which displays in the control.

ValueIsNull

Determines whether the Value property is set to NULL.

Version

Returns the version number of the control.

 

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

 

TDBTime 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

InvalidValue

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

 


TDBTime Control Properties

TDBTime Control Methods

TDBTime Control Events

 

 


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

Product Support Forum  |  Documentation Feedback