OnCalendarDrawDay

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Calendar control > Events >

OnCalendarDrawDay


 

Called each day before drawing.

 


syntax

event OnCalendarDrawDay(

         date,

         &textattr,

         &textcolor,

         &circlefillcolor,

         &circlebordercolor,

         &checkcolor

         )

 


Parameters

 

date


Type:

Number


The date on which the drawing will be performed.

 

&textattr


Type:

character


Attributes for the date text. Multiple attributes can be specified by separating them with commas. Example: "bold,italic"

"bold" - Bold

"italic" - Italic letters

"underline" - Underline

"strikeout" - A line drawn in the center of the character

 

&textcolor


Type:

Colored letters


If not specified, the text color of the date will be drawn using the TextColor property.

 

&circlefillcolor


Type:

Colored letters


If a circle (filled) is drawn behind the date, specify the color.

 

&circlebordercolor


Type:

character


If you want to draw a circle (outer frame) behind the date, specify the color.

 

&checkcolor


Type:

character


If a check is drawn on top of the date, specify the color.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


reference