SetDayState

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Calendar control > Methods >

SetDayState


 

Set the daily information.

 


syntax

SetDayState (

         stateType,

         date,

         count,

         state

         )

 


Parameters

 

stateType


Type:

character


The type of state to set.

"bold" - Whether to make the date text bold

"circle" - Whether to draw a circle behind the date

"check" - Whether to draw a check on the date

 

date


Type:

time


The start date you want to set.

 

count


Type:

Number


The number of days you want to set.

 

state


Type:

Boolean


Status. If you specify a Boolean value, all days will be set to the same status. If you specify an array of days, the status will be set for each date.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference