Determines if the control should decide the number of visible months based on its size.

Usage

Set_Property(OLECtrlEntID, "OLE.Autosize", Boolean)

Values

[True | False]

Default: True

Remarks

The Autosize property enables or disables automatic sizing and positioning of months. When enabled, the control automatically adds or removes months to acheive the best possible fit. When disabled, the GridSize property determines the number of visible months.

When Autosize is disabled, all months expand to fit the control. When Autosize is enabled, the months maintain a balanced margin.

Example

// Disable autosize and set a new grid size 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.Autosize", 0) 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.GridSize", 2:@FM:2)

See Also

GridSize

  • No labels