PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Allows you to indicate the specific working hours per day in an Organizer control. This time period can be specified:
  • for the morning.
  • for the afternoon.
The time periods can be defined per day of the week.
Versions 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Versions 25 and later
This function is now available for Android applications.
New in version 25
This function is now available for Android applications.
This function is now available for Android applications.
Example
// Open every working day from 9:00 to 12:00 and from 13:40 to 19:15
OrganizerWorkingHour(ORG_MyOrganizer, "0900", "1200", "1330", "1915")
// Open from 9am to 12pm on Wednesdays
OrganizerWorkingHour(ORG_MyOrganizer, "0900", "1200", "", "", 3)
Syntax
OrganizerWorkingHour(<Organizer control> , <Morning start time> , <Morning end time> [, <Afternoon start time> [, <Afternoon end time> [, <Day of week>]]])
<Organizer control>: Control name
Name of Organizer control to use.
<Morning start time>: Time or Character string
Start time of morning (in "HHMM" format).
<Morning end time>: Time or Character string
End time of morning (in "HHMM" format).
<Afternoon start time>: Time or Optional character string
Start time of afternoon (in "HHMM" format).
<Afternoon end time>: Time or Optional character string
End time of afternoon (in "HHMM" format).
<Day of week>: Optional integer
Indicates the number of the day affected by the specified schedules:
  • 1 for Monday,
  • 2 for Tuesday,
  • 3 for Wednesday,
  • 4 for Thursday,
  • 5 for Friday,
  • 6 for Saturday,
  • 7 for Sunday.
If this parameter is not specified or if it is set to 0, the definition of working hours is applied to all days of the week.
Remarks
  • The working hours are highlighted by a different color. This color is chosen in the style options of the control.
  • OrganizerWorkingHour replaces the working hours defined by WorkingHourStart and WorkingHourEnd.
Component: wd260mdl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment