The number of visible months.

Usage

Set_Property(OLECtrlEntID, "OLE.GridSize", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>ColumnsIntegerThe number of columns1
<2>RowsIntegerThe number of rows1

Remarks

The GridSize property sets the number of visible months. The months are arranged in a grid pattern, that is, columns and rows. As such, this property has two fields: column count and row count. To customize the months, simply specify the columns and rows.

This property has no effect if the Autosize is set to 1.

Example

// Set the months to 2 columns and 2 rows 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.Autosize", 0) 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.GridSize", 2:@FM:2)

See Also

Autosize

  • No labels