Brings a date into view.
rv = Send_Message(Ctrl, "OLE.EnsureVisible", Date) |
Parameter | Description |
---|---|
Date | Any date in internal format |
The EnsureVisible method can be used to force a date into view. Simply pass the date, in OpenInsight's internal format, that you want visible. The control will scroll left or right as many months as is necessary to make the date visible.
// Show today's date Send_Message(@Window:".OLE_DATEPICKER", "OLE.EnsureVisible", Date()) |
EnsureVisibleSelection, FirstMonth