ComponentOne True DBInput Pro 8.0
TDBDate Control

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

Calendar

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

DayOfYear

Returns the day of year for the date set in the Value property.

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.

EraName

Returns an era name for the date set in the Value property.

EraYear

Returns the era year for the date set in the Value property.

ErrorBeep

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

FirstMonth

Sets/returns the base month for the fiscal year.

FiscalQuarter

Returns the quarter of a fiscal year for the date set in the Value property.

FiscalYear

Returns the fiscal year for the date set in the Value property.

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.

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.

MaxDate

Sets/returns the maximum date range.

MinDate

Sets/returns the minimum date range.

Month

Returns the month portion of the date set in the Value property.

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.

Number

Sets/returns the date 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.

Quarter

Returns the quarter of year for the date set in the Value property.

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 popup the editing context menu for the control.

ShowLiterals

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

Spin

Sets/returns a spin object.

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.

ValidateMode

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

Value

Sets/returns the underlying date value.

ValueIsNull

Determines whether the Value property is set to NULL.

Version

Returns the version number of the control.

Weekday

Returns the day of week for the date set in the Value property.

WeekOfYear

Returns the week of year for the date set in the Value property.

Year

Returns the year portion of the date set in the Value property.

TDBDate Control Methods

 

AboutBox

Displays the About box for the control.

ClearControl

Clears the control's contents.

Drop

Drops the Calendar to display.

OLEDrag

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

Refresh

Forces a complete repaint of the control.

 

TDBDate Control Events

 

CloseUp

Occurs when the calendar 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.

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.


TDBDate Control Properties

TDBDate Control Methods

TDBDate Control Events

 

 


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

Product Support Forum  |  Documentation Feedback