The displayed month names.

Usage

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

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>JanuaryTextThe display name for JanuaryJanuary
<2>FebruaryTextThe display name for FebruaryFebruary
<3>MarchTextThe display name for MarchMarch
<4>AprilTextThe display name for AprilApril
<5>MayTextThe display name for MayMay
<6>JuneTextThe display name for JuneJune
<7>JulyTextThe display name for JulyJuly
<8>AugustTextThe display name for AugustAugust
<9>SeptemberTextThe display name for SeptemberSeptember
<10>OctoberTextThe display name for OctoberOctober
<11>NovemberTextThe display name for NovemberNovember
<12>DecemberTextThe display name for DecemberDecember

Remarks

The MonthNames property is a dynamic array of month names, which you may customize for internationalization purposes. The array is in order from January to December. Simply set this array to the list of names you wish to use. Any blank field is ignored and that field's name remains unchanged.

Example

// Set months in Spanish 
Months  = "Enero":@FM:"Febrero":@FM:"Marzo" 
Months := "Abril":@FM:"Mayo":@FM:"Junio" 
Months := "Julio":@FM:"Agosto":@FM:"Septiembre" 
Months := "Octubre":@FM:"Noviembre":@FM:"Diciembre" 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.MonthNames", Months)

See Also

DayOfWeekNames

  • No labels