The first visible month.

Usage

Set_Property(OLECtrlEntID, "OLE.FirstMonth", StringValue)

Values

StringValue can be any string meeting the following format requirements:

Syntax: M/YYYY

Default: "Today's Month"

Remarks

The FirstMonth property represents the first visible month. Use this property to determine the current scroll location or to programmatically scroll the control. The value is in the format "M/YYYY". The year must be 4 digits.

If there is a scroll limit established by the Range property, setting this property beyond its limits will result in the control scrolling to that limit. For example, if the minimum limit is Jan 1, 2007, setting this property to "1/2006" will scroll to "1/2007" and no further.

Example

// Scroll to Jan 1, 2007 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.FirstMonth", "1/2007"

See Also

RangeScrollLeftScrollRight

  • No labels