The displayed day of week names.

Usage

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

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>SundayTextThe display name for SundaySunday
<2>MondayTextThe display name for MondayMonday
<3>TuesdayTextThe display name for TuesdayTuesday
<4>WednesdayTextThe display name for WednesdayWednesday
<5>ThursdayTextThe display name for ThursdayThursday
<6>FridayTextThe display name for FridayFriday
<7>SaturdayTextThe display name for SaturdaySaturday

Remarks

The DayOfWeekNames property is a dynamic array of names for the days of the week, which you may customize for internationalization purposes. The array is in order from Sunday to Saturday. 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 days in Spanish 
DayNames = "Domingo":@FM:"Lunes":@FM:"Martes":@FM:"Miércoles" 
DayNames := "Jueves":@FM:"Viernes":@FM:"Sábado" 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.DayOfWeekNames", DayNames)

See Also

MonthNames

  • No labels