ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Scheduler functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Makes a day visible or invisible in a Scheduler control.
Note: The day made invisible will no longer appear if the Scheduler control is set to week..
Example
// Ne pas afficher le mercredi
CeMercredi is Date = DateSys()
CeMercredi.Jour += 3 - DateToDay(CeMercredi) 
PLN_MonPlanning.DateVisible(CeMercredi, False)
Syntax

Making a day visible or invisible Hide the details

<Scheduler control>.DateVisible(<Date> , <Visible>)
<Scheduler control>: Control name
Name of the Scheduler control to be used.
<Date>: Character string or Date variable
Date to be made visible or invisible. This date is in "YYYYMMDD" format.
<Visible>: Boolean
  • True to make the date visible,
  • False to make the date invisible.

Finding out whether a day is visible or invisible Hide the details

<Result> = <Scheduler control>.DateVisible(<Date>)
<Result>: Boolean
  • True if the date is visible,
  • False if the date is invisible.
<Scheduler control>: Control name
Name of the Scheduler control to be used.
<Date>: Character string or Date variable
Date to use. This date is in "YYYYMMDD" format.
Remarks
  • The invisible days are "skipped" when drawing the Scheduler control.
    For example, if a Wednesday is invisible, the Scheduler control displays Tuesday and then Thursday.
  • The display is refreshed immediately or when changing period:
    • If the Scheduler control currently displays only one day and that day becomes invisible, the day is made invisible when the day or period is changed.
    • If the Scheduler control displays 1 week or 1 month, the invisible days are not displayed but the Scheduler control does not display more days.
    • If the Scheduler control displays X days, the invisible days are not counted in the X days. For example, if the Scheduler control displays 4 days with Wednesday invisible, the 4 days displayed will be: Monday, Tuesday, Thursday, Friday.
  • If an appointment lasts during several days (among which 1 invisible day), it will visually appear as being shorter.
Component: wd300mdl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help