The displayed day of week names.
Usage
Set_Property(OLECtrlEntID, "OLE.DayOfWeekNames", Array)
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Sunday | Text | The display name for Sunday | Sunday |
<2> | Monday | Text | The display name for Monday | Monday |
<3> | Tuesday | Text | The display name for Tuesday | Tuesday |
<4> | Wednesday | Text | The display name for Wednesday | Wednesday |
<5> | Thursday | Text | The display name for Thursday | Thursday |
<6> | Friday | Text | The display name for Friday | Friday |
<7> | Saturday | Text | The display name for Saturday | Saturday |
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)