The currently visible date.

 

Usage

Set_Property(OLECtrlEntID, "OLE.Date", Value)

Values

Value can be any positive or negative whole number:

Default: Today's Date

Remarks

The Date property is the current day visible to the user. The user can change this by clicking on the calendar in the top left corner, or you can change it programmatically here. The date is in OI's internal Date format, so just pass an internally formatted date to make the change.

Example

// Change the date to today 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.Date", Date())
  • No labels