Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SetDayStyle method is a convenient way of setting the visual style of any number of dates and date ranges. The Style parameter uses the same multivalue structure as the DayStyle property. However, with this method, you can set any number of days to the same style in one call whereas the DayStyle property requires a separate call for each date or date range.

...

Code Block
 // Set style to Bold Red 
Style = "" 
Style<1> = "Red" 
Style<3> = @SVM:@SVM:700 

 // Set a single date followed by a date range 
Days = "" 
Days<1> = "15250" 
Days<2> = "15260-15266" 

 // Make the call 
Send_Message(@Window:".OLE_DATEPICKER", "OLE.SetDayStyles"

See Also

DayStyle