GetDayState

<< Click to Display Table of Contents >>

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

GetDayState


 

Get daily information.

 


syntax

GetDayState (

         stateType,

         date,

         count

         [,state = T]

         [,resultType = " bool"]

         )

 


Parameters

 

stateType


Type:

character


The type of state to retrieve.

"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 get.

 

count


Type:

Number


The number of days you want to retrieve.

 

state


Type:

Boolean


The status you want to get. If you specify a Boolean array for the number of days, the status will be compared for each date.

 

resultType


Type:

character


On return, the type of result returned. See (Return Value) for details.

 

Return Value



Type:

Boolean


Returns the information specified by resultType.

 

In the case of "bool"

Returns TRUE if the condition is met, FALSE if not. If the number of days to be retrieved is two or more, a one-dimensional Boolean array for the number of days is returned. Returns a null value (#NOTHING#) if retrieval fails.

 

In the case of "daylist"

Returns a list of dates where the condition is met as a time array. If no dates exist, returns a null value (#NOTHING#).

 


hmtoggle_plus1Explanation

 


reference