PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 an Organizer control.
Note: The day that was made invisible will no longer appear if the organizer is displayed on a weekly basis.
Versions 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// Don't display Wednesday
ThisWednesday is Date = DateSys()
ThisWednesday..Day += 3 - DateToDay(ThisWednesday)
OrganizerDateVisible(ORG_MyOrganizer, ThisWednesday, False)
Syntax

Making a day visible or invisible Hide the details

OrganizerDateVisible(<Organizer control> , <Date> , <Visible>)
<Organizer control>: Control name
Name of Organizer control to use (found in a window)
<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> = OrganizerDateVisible(<Organizer control> , <Date>)
<Result>: Boolean
  • True if the date is visible,
  • False if the date is invisible.
<Organizer control>: Control name
Name of Organizer control to use (found in a window)
<Date>: Character string or Date variable
Date to use. This date is in "YYYYMMDD" format.
Remarks
  • The invisible days are "skipped" when drawing the organizer.
    For example, if a Wednesday is invisible, the Organizer control displays Tuesday and then Thursday.
  • The display is refreshed immediately or when changing period:
    • If the Organizer 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 Organizer control displays 1 week, invisible days are not displayed but Organizer control does not display more days.
    • If the Organizer control displays 1 month, the invisible days are displayed (there are no "holes" in the calendar).
  • If an appointment lasts during several days (among which 1 invisible day), it will visually appear as being shorter.
Component : wd240obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment