|
|
|
|
|
- Available display formats
- Limits
MaskTitleDate (Property) In french: MasqueTitreDate
The MaskTitleDate property is used to identify and change the input mask used for the title of day columns: - in an Organizer control.
- in a Scheduler control.
// Modifies the mask of titles in the date columns SCH_Scheduler1.MaskTitleDate = "DD MM" // Displays "12 Apr."
Syntax
Finding out the mask used for the titles of the day columns Hide the details
<Result> = <Control used>.MaskTitleDate
<Result>: Character string Current display mask for the titles of day columns. This mask corresponds to: - "" (empty string) if the default mask is used.
- the display mask used (see Remarks).
<Control used>: Control name Name of the control to be used: - Name of Organizer control.
- Name of the Scheduler control.
Modifying the mask for the titles of day columns Hide the details
<Control used>.MaskTitleDate = <New mask>
<Control used>: Control name Name of the control to be used: - Name of Organizer control.
- Name of the Scheduler control.
<New mask>: Character string New display mask for the titles of day columns. This mask can correspond to: - a preset mask or a custom mask (see the Remarks).
- "" (empty string) to use the default display mask.
Remarks Available display formats The display format can correspond to: - a preset format. For example:
- "DD/MM/YYYY" (16/12/2010 for example)
- "DD/MM/YY" (16/12/10 for example)
- "DD DD" (Thu 16 for example)
- "MMMM YYYY|L|DD" (display mask on 3 lines available for the Scheduler controls only, for example:
December 2010 J 16) - "MMMM YYYY|DD|L" (display mask on 3 lines available for the Scheduler controls only, for example:
December 2010 16 T) - "MM/DD/YYYY" (12/16/2010 for example)
- "MM/DD/YY" (12/16/10 for example)
- "YYYY/MM/DD" (2010/12/16 for example)
- "YY/MM/DD" (10/12/16 for example)
- "DDDD DD MMMM YYYY" (Thursday 16 December 2010 for example)
- "Dddd DD Mmmm YYYY" (Thursday 16 December 2010 for example)
- "Dddd DD Mmm YYYY" (Thursday 16 Dec 2010 for example)
- a custom format. In this case, you have the ability to use the following elements:
- "L" (first letter of the day of the week: M,T,W,T,F,S,S)
- "DD" (day of the week in NUMBER, e.g. 12)
- "DDDD" (corresponding day of the week, e.g. "Thursday"). The case used depends on the linguistic options of the project.
- "Dddd" (day of the week with the first letter in uppercase, e.g. Monday)
- "dddd" (day of the week with the first letter in lowercase, e.g. monday)
- "DDD" (abbreviation for the day of the week, "Thu" for example). The case used depends on the linguistic options of the project.
- "Ddd" (abbreviation of the day of the week with the first letter in uppercase, e.g. Mon)
- "jjj" (abbreviation of the day of the week with the first letter in lowercase, e.g. mon)
- "MM" (month in numbers, e.g. 11)
- "MMMM" (non-abbreviated month, for example "January"). The case used depends on the linguistic options of the project.
- "Mmmm" (month spelled out with the first letter in uppercase, e.g. January)
- "mmmm" (month spelled out with the first letter in lowercase, e.g. january)
- "MMM" (abbreviation of the month, "Jan" for example). The case used depends on the linguistic options of the project.
- "Mmm" (abbreviation of the month with the first letter in uppercase (e.g. Jan)
- "mmm" (abbreviation of the month with the first letter in lowercase (e.g. jan)
- "YYYY" (year on four digits, "2001" for example)
- "YY" (last two digits of the year, "01" for example)
To display the date on several lines in a Scheduler control, all you have to do is use the "|" character (Alt Gr + 6) to change line. For example: "DDDD DD MMMM YYYY" displays Monday 15 may 2010.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|