SetTodayDateOverride Method
Description
Specifies which day to show as "today" in the calendar.
Syntax
Public Sub SetTodayDateOverride( _
ByVal Year As Integer, _
ByVal Month As Integer, _
ByVal Day As Integer _
)
Parameters
- Year: Year of the day you want to highlight in the calendar as "today".
- Month: Month of the day you want to highlight in the calendar as "today".
- Day: Day of the month you want to highlight in the calendar as "today".
Remarks
This method is used to override the "today" date. The Calendar control will assume the date provided as "today". The today date is used to draw the highlighted border for days (mark them as today). The ResetTodayDateOverride method must be used to reset the day to the current non-overridden "today".
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.