PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Makes a day visible or invisible in a Scheduler control.
Note: The day that was made invisible will no longer appear if the scheduler is displayed on a weekly basis.
Example
// Don't display Wednesday
ThisWednesday is Date = DateSys()
ThisWednesday..Day += 3 - DateToDay(ThisWednesday)
SchedulerDateVisible(SCH_MyScheduler, ThisWednesday, False)
Syntax

Making a day visible or invisible Hide the details

SchedulerDateVisible(<Scheduler Control> , <Date> , <Visible>)
<Scheduler Control>: Control name
Name of Scheduler control to use.
<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> = SchedulerDateVisible(<Scheduler Control> , <Date>)
<Result>: Boolean
  • True if the date is visible,
  • False if the date is invisible.
<Scheduler Control>: Control name
Name of Scheduler control to use.
<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.
    For example, if a Wednesday is invisible, the organizer displays Tuesday then Thursday directly.
  • The display is refreshed immediately or when changing period:
    • If the scheduler is currently displaying a single day and if this day becomes invisible, the day is made invisible when changing day or period.
    • If the scheduler displays 1 week or one month, the invisible days are not displayed but the scheduler does not display more days.
    • If the scheduler displays X days, the invisible days are not counted in the X days. For example, is the scheduler displays 4 days while Wednesday is 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.
Components
WINDEVReports and Queries wd230mdl.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment