Skip to main content
Version: 7.9

Calendar

Component Palette Icon:

Description

Displays a calendar and time input directly embedded in your window. Most commonly used by including one of the two date properties (immediate or latched) from the calendar in dynamic SQL Query Binding.

Properties

NameDescriptionProperty TypeScriptingCategory
AntialiasDraw with antialias on? Makes text smoother.boolean.antialiasAppearance
Background ColorThe background color of the component.Color.backgroundAppearance
BorderThe border surrounding this component. NOTE that the border is unaffected by rotation.Border.borderCommon
CursorThe mouse cursor to use when hovering over this component.int.cursorCodeCommon
Data QualityThe data quality code for any tag bindings on this component.int.dataQualityData
Date (immediate)The date as it is selected right now.Date.dateData
Date (latched)The date the last time "OK" was pressed.Date.latchedDateData
EnabledIf disabled, a component cannot be used.boolean.componentEnabledCommon
FontFont of text on this component.Font.fontAppearance
Foreground ColorThe foreground color of the component.Color.foregroundAppearance
Format StringThe date formatting pattern used to format the string versions of the dates.String.formatBehavior
Formatted DateThe date property, as formatted by the format string.String.formattedDateData
Formatted Latched DateThe latched date property, as formatted by the format string.String.formattedLatchedDateData
Mouseover TextThe text that is displayed in the tooltip which pops up on mouseover of this component.String.toolTipTextCommon
NameThe name of this component.String.nameCommon
OpaqueIf false, backgrounds are not drawn. If true, backgrounds are drawn.boolean.opaqueCommon
Selected BorderThe border for the selected day indicator.Border.selectedBorderAppearance
Show OK ButtonTurn this off if you don't want to show the OK button. The latched date and the immediate date will be equivalent.boolean.showOkButtonBehavior
Show TimeTurn this off if you don't want to show the time panel.boolean.showTimeBehavior
StylesContains the component's styles.Dataset.stylesAppearance
Time Display FormatThe format for displaying time in the panel.int.timeDisplayFormatBehavior
Time StyleSelect how this calendar should treat the time portion of the date.int.timeStyleBehavior
Title BackgroundThe background of the title bar.Color.titleBackgroundAppearance
Today BackgroundBackground color for the today indicator.Color.todayBackgroundAppearance
Today ForegroundForeground color for the today indicator.Color.todayForegroundAppearance
VisibleIf disabled, the component will be hidden.boolean.visibleCommon
Weekend BackgroundBackground color for the weekend indicators.Color.weekendBackgroundAppearance
Weekend ForegroundForeground color for the weekend indicators.Color.weekendForegroundAppearance

Scripting

Scripting Functions

This component does not have scripting functions associated with it.

Extension Functions

This component does not have extension functions associated with it.

Event Handlers

Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page

Customizers