PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Available display formats
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..MaskTitleDate is used to find out and modify the mask used for the title of the day columns:
  • WINDEV in an Organizer control. WINDEV in an Organizer control.
  • in a Scheduler control.
Example
// 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>..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>: Control name
Name of control to use:
  • WINDEV Name of Organizer control. WINDEV Name of Organizer control.
  • Name of the Scheduler control.

Modifying the mask for the titles of day columns Hide the details

<Control>..MaskTitleDate = <New Mask>
<Control>: Control name
Name of control to use:
  • WINDEV Name of Organizer control. WINDEV 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" (corresponding to the first letter of the day of the week, for example: M,T,W,T,F,S,S)
    • "DD" (corresponding to the day of the week in digits, for example: 12)
    • "DDDD" (corresponding day of the week, "Thursday" for example). The case used depends on the linguistic options of project.
    • "Dddd" (corresponding to the day of the week with the first letter in uppercase, for example: Monday)
    • "dddd" (corresponding to the day of the week with the first letter in lowercase, for example: monday)
    • "DDD" (abbreviation for the day of the week, "Thu" for example). The case used depends on the linguistic options of project.
    • "Ddd" (abbreviation for the day of the week with the first letter in uppercase, for example: Mon)
    • "ddd" (abbreviation for the day of the week with the first letter in lowercase, for example: mon)
    • "MM" (month in digits, for example: 11)
    • "MMMM" (month spelled out, "January" for example). The case used depends on the linguistic options of project.
    • "Mmmm" (month spelled out with the first letter in uppercase, for example: January)
    • "mmmm" (month spelled out with the first letter in lowercase, for example: January)
    • "MMM" (abbreviation of the month, "Jan" for example). The case used depends on the linguistic options of project.
    • "Mmm" (abbreviation of the month with the first letter in uppercase (for example: Jan)
    • "mmm" (abbreviation of the month with the first letter in lowercase (for example: 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.

Limits

WINDEV ..MaskTitleDate only applies to the:
  • Organizer controls,
  • Scheduler controls.
WINDEV ..MaskTitleDate only applies to the:
  • Organizer controls,
  • Scheduler controls.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment