ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Scheduler functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a new resource into a Scheduler control.
Example
// Adds a resource (a meeting room) into the Scheduler control
// Meeting is the data file that describes the available meeting rooms
SCH_RoomOccupancy.AddResource(Meeting.Name + gStoredValue(Meeting.MeetingID))
Syntax
<Result> = <Scheduler control>.AddResource(<Resource>)
<Result>: Integer
  • Index of added resource,
  • -1 if an error occurred. ErrorInfo is used to identify the error.
<Scheduler control>: Control name
Name of Scheduler control into which the resource will be added. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Resource>: Character string
Name of the added resource. An invisible value can be added by gStoredValue.
Related Examples:
WD Schedule Complete examples (WINDEV): WD Schedule
[ + ] This example presents the management of a graphic schedule.

The following topics are presented in this example:
1/ the scheduler control
2/ the Google Calendar functions
Component: wd290mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help