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
SchedulerAddResource (Function)
In french: PlanningAjouteRessource
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
SchedulerAddResource(SCH_RoomOccupancy, Meeting.Name + gLink(Meeting.MeetingID))
Syntax
<Result> = SchedulerAddResource(<Scheduler control> , <Resource>)
<Result>: Integer
  • Subscript 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,
  • Versions 17 and later
    the Scheduler control of a report.
    New in version 17
    the Scheduler control of a report.
    the Scheduler control of a report.
<Resource>: Character string (with quotes)
Name of the added resource. An invisible value can be added by gLink.
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 : wd240mdl.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment