Versions Compared

Key

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

...

To programmatically select dates, simply pass a new @FM delimited array of dates. When setting this property, the order of the dates does not matter. However, the next time you read the property, the dates will be sorted chronologically.

The MaxSelCount and NoncontinuousSelection properties are ignored when setting this property.

Example

Code Block
 // Get the current selection 
SelDates = Get_Property(@Window:".OLE_DATEPICKER", "OLE.Selection") 

 // Set the selection to today's date 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.Selection", Date()) 

 // Clear the current selection 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.Selection", "")

See Also

MaxSelCountNoncontinuousSelection