ComponentOne True DBInput Pro 8.0
TDBCalendar Control

TDBCalendar Control Properties

 

Appearance

Sets/returns whether or not a control is painted at run time with 3D effects.

AttribStyles

Returns a collection of attribute styles.

AutoSize

Sets/returns if the control should be automatically sized.

BackColor

Sets/returns the background color of the object.

CtrlStyleSet

Sets/returns the drawing style set to use for the control.

DayStyleSet

Sets/returns the drawing style to use for month days.

EmptyRows

Sets/returns how the calendar should be drawn when empty week rows appear.

FirstMonth

Sets/returns the first month of the fiscal year.

HolidayStyles

Returns a collection of holiday styles.

Key

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

LineColors

Sets/returns the colors to use for the specified lines.

LineStyles

Sets/returns the patterns to use for the specified lines.

MarginBottom

Sets/returns the bottom margin spacing for an object.

MarginHeight

Sets/returns the vertical space to use between calendar months.

MarginLeft

Sets/returns the left margin space.

MarginRight

Sets/returns the right margin space.

MarginTitle

Sets/returns the title margin space.

MarginTop

Sets/returns the top margin space.

MarginWidth

Sets/returns the width between calendar months.

MaxDate

Sets/returns the maximum date range.

MinDate

Sets/returns the minimum date range.

MonthCols

Sets/returns the amount of months to display in a column.

MonthRows

Sets/returns the amount of months to display in a row.

MouseIcon

Sets a custom mouse icon.

MousePointer

Sets/returns the type of mouse pointer displayed when over part of a control.

MultiSelect

Sets/returns whether multiple selection is supported in the calendar.

NavOrientation

Sets/returns which position to show the navigation bar or scroll bar.

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.

OverrideTipText

Sets/returns the tool tip text for an overridden holiday.

Redraw

Sets/returns whether drawing capabilities are no or off.

ScrollRate

Sets/returns the amount of months to scroll at once.

ScrollTipAlign

Sets/returns where the scroll tip window will be positioned in the control.

SelAttribute

Sets/returns the attribute style to use for selected dates

Selections

Returns a collection of selected dates in multiple selection mode.

SelectStyle

Sets/returns the selection indicator used in the control.

SelectWhat

Sets/returns the types of dates to select.

SelEdgeWidth

Sets/returns the spacing to use for the selecting margin.

ShowContextMenu

Sets/returns whether to pop up the style selection menu.

ShowMenu

Sets/returns whether to display the menu.

ShowNavigator

Sets/returns whether to display the navigating bars or buttons.

ShowScrollTip

Sets/returns whether to show the scroll tip window when using the scrollbar.

ShowTrailing

Sets/returns whether to display the trailing days for previous or next month.

StartOfMonth

Sets/returns the first month that will appear in the upper left position of the view.

StartOfWeek

Sets/returns which weekday to display first in the calendar.

StyleSets

Returns a collection of drawing styles, Bevel, Font, and so on.

Templates

Sets/returns which pre-defined calendar template to use.

TipInterval

Sets/returns the timing to popup a tooltip window displaying the holiday description.

TitleFormat

Sets/returns the format to use for the caption in the title bar.

TitleHeight

Sets/returns the height of the title bar.

TitleStyleSet

Sets/returns the drawing style to use for the title bar.

TrailAttribute

Sets/returns the attribute style to use for a trailing dates.

UseStyles

Sets/returns the holiday styles to show in the calendar.

Value

Sets/returns a single selected date or date with the focus.

ValueIsNull

Returns whether the Value property is set to NULL.

Version

Returns the version number of the control.

WeekDays

Returns an object array holding each weekday information.

WeekRests

Sets/returns the weeks in weekdays that will be treated as weekends.

WeekStyleSet

Sets/returns the drawing style to use for weekday titles.

YearType

Sets/returns whether to display the calendar in fiscal year form.

 

TDBCalendar Control Methods

 

AboutBox

Displays the About box for the control.

DateFromPnt

Returns the date corresponding to the position indicated by the coordinates.

GetDatesInView

Retrieves the starting and ending date of the calendar currently being displayed in the control.

ScrollMonth

Scrolls the calendar month according to the number of months specified.

ScrollYear

Scrolls the calendar years according to the number of years specified.

WeekdayFromPnt

Returns the month corresponding to the position indicated by coordinates.

 

TDBCalendar Control Events

 

DateDblClick

Occurs when a date is double-clicked.

DBError

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

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.

Scroll

Occurs when scrolling the calendar view.

 

 


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

Product Support Forum  |  Documentation Feedback