$root.$iwindows.WINDOW.$objs.Calendar Control

Parent: $root.$iwindows.WINDOW.$objs
 
Children 

Class notation

Properties Methods Events 

Properties

Object specific 
$allowchangeIf true,the user can change the current date
$currdayThe calendar's current date as a string.
$currdaycolorThe color of the current day
$currdayiconThe icon used to represent the current day
$currdaymodeThe drawing style for the current day
kBorder3DFace kBorder3DHilite kBorderBevel kBorderChisel kBorderCtrlComboBox kBorderCtrlDropList kBorderCtrlEdit kBorderCtrlGroupBox kBorderCtrlList kBorderCtrlListCell kBorderCtrlShadow kBorderCtrlShadowEx kBorderCtrlTabPane kBorderEmbossed kBorderEmbossedChisel kBorderInset kBorderInsetBevel kBorderNone kBorderPlain kBorderShadow kBorderSingleEmbossed kBorderSingleInset
$currdaytextcolorThe color of the current date
$daycolorThe color of the other days in this month
$dayfontThe font used for the days
$dayfontsizeThe font size used for the days
$daymodeThe drawing style for the days in this month
kBorder3DFace kBorder3DHilite kBorderBevel kBorderChisel kBorderCtrlComboBox kBorderCtrlDropList kBorderCtrlEdit kBorderCtrlGroupBox kBorderCtrlList kBorderCtrlListCell kBorderCtrlShadow kBorderCtrlShadowEx kBorderCtrlTabPane kBorderEmbossed kBorderEmbossedChisel kBorderInset kBorderInsetBevel kBorderNone kBorderPlain kBorderShadow kBorderSingleEmbossed kBorderSingleInset
$daytooltipsIf true,a separate tooltip is required for each day
$fieldstylefocusedThe style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus
$firstdayThe first day the calendar will show
kFriday kMonday kSaturday kSunday kThursday kTuesday kWednesday
$gridsectionThe type of the complex grid section containing the object. One of the kGrid... constants
$headingboldIf true,the heading is drawn in bold
$headingcolorThe color used for the heading
$headingfontThe font used for the heading section
$headingfontsizeThe font size used for the heading section
$headingmodeThe drawing style for the heading
kBorder3DFace kBorder3DHilite kBorderBevel kBorderChisel kBorderCtrlComboBox kBorderCtrlDropList kBorderCtrlEdit kBorderCtrlGroupBox kBorderCtrlList kBorderCtrlListCell kBorderCtrlShadow kBorderCtrlShadowEx kBorderCtrlTabPane kBorderEmbossed kBorderEmbossedChisel kBorderInset kBorderInsetBevel kBorderNone kBorderPlain kBorderShadow kBorderSingleEmbossed kBorderSingleInset
$headingtextcolorThe color of the text in the heading
$monthtextcolorThe color of the days in this month
$navcolorThe color used for the navigation bar
$navfontThe font used to draw navigation bar items
$navfontsizeThe font size used to draw navigation bar items
$navtextcolorThe color used for the navigation bar text
$otherdaycolorThe color of days not in this month
$otherdaymodeThe drawing style for the previous and next months days
kBorder3DFace kBorder3DHilite kBorderBevel kBorderChisel kBorderCtrlComboBox kBorderCtrlDropList kBorderCtrlEdit kBorderCtrlGroupBox kBorderCtrlList kBorderCtrlListCell kBorderCtrlShadow kBorderCtrlShadowEx kBorderCtrlTabPane kBorderEmbossed kBorderEmbossedChisel kBorderInset kBorderInsetBevel kBorderNone kBorderPlain kBorderShadow kBorderSingleEmbossed kBorderSingleInset
$othertextcolorThe color of the days in previous and next month
$shortnameIf true,the days are drawn using a short name
$showheadingIf true,days of the week are shown
$showmonthlynavTrue if the navigation bar is displayed
$showweeknumbersTrue if the ISO week number column is displayed
$todayboldIf true,todays date is drawn in bold
$todayscolorThe color of today
$todaystextcolorThe color of todays date
$tooltipdayThe date to use for the current tooltip; only significant when $daytooltips is kTrue, and a tooltip is being generated
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
$uistyleTrue if the calendar uses a more modern style for drawing
kCalUIstyleClassic kCalUIstyleModern
$weeknumbercolorThe background color of the week numbers column if displayed
$weeknumbertextcolorThe text color of the week numbers column if displayed
Standard$active $alpha $candropcursor $componentctrl $componentinfo $componentlib $componentvalid $container $contextmenu $cursor $disablefocus $disablesystemfocus $dragborder $dragiconid $dragmode $dragrange $dropmode $edgefloat $effect $enabled $fieldstyle $framehwnd $gridcolumn $hasfocus $height $helpfile $hwnd $ident $keyevents $left $mouseevents $name $nodropcursor $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $tooltip $top $userinfo $visible $width

Methods

Object specific 
$clearicons$clearicons() Method to clear all day icons
$getdayicon$getdayicon(iDay[,&cDayIcon]) Method to get the icon for day iDay. Returns the integer icon id (when the icon has an integer id). Also sets cDayIcon (when present) to the icon id
$sendevent$sendevent(iEvent[,eventParameters...]) Sends event iEvent (an ev... constant value) to the object with eventParameters passed as name,value pairs, for example $sendevent(evClick,'pLineNumber',2).Returns kFalse if the event is discarded
$setdayicon$setdayicon(iDay,vDayIcon) Method to set the icon for day iDay to vDayIcon
$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client
Standard$redraw

Events

Object specific 
evHoursChangeSent to the clock when the hours change
Parameters
pEventCodeThe event code
pHoursThe new hour hand value
evMinutesChangeSent to the clock when the minutes change
Parameters
pEventCodeThe event code
pMinutesThe new minute hand value
evSecondChangeSent to the clock when the seconds change
Parameters
pEventCodeThe event code
pSecondsThe new second hand value
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
StandardevAfter evBefore evCanDrop evDisabled evDrag evDragBorder evDragFinished evDrop evEnabled evHidden evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evWillDrop

Children

Top 

$methods