PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
The Resource property is used to:
  • find out the resources visible in a Scheduler control.
  • get the resource of the Scheduler control that corresponds to the specified index.
Versions 21 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
New in version 21
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
Example
SchedulerAddResource(SCH_Schedule1, "Florence" + gStoredValue("FL"))
SchedulerAddResource(SCH_Schedule1, "Manuelle" + gStoredValue("MA"))
 
Trace(SCH_Schedule1.Resource[1].Title) // Returns "Florence"
SchedulerAddResource(SCH_Schedule1, "Green room")
SchedulerAddResource(SCH_Schedule1, "Red room")
SchedulerAddResource(SCH_Schedule1, "Blue room")
 
FOR EACH RoomName OF SCH_Schedule1.Resource
Trace("Name: " + RoomName.Title)
END
Syntax

Finding out the Nth resource of a Scheduler control Hide the details

<Result> = <Scheduler control>[<Index>].Resource
<Result>:
Name of the requested resource.
<Scheduler control>: Control name
Name of Scheduler control used.
<Index>: Integer
Index of the requested resource.

Finding out the resources visible in a Scheduler control Hide the details

<Result> = <Scheduler control>.Resource
<Result>: Array
Name of the array containing the visible resource of the Scheduler control. The only property that can be used on an element of this array is Title.
<Scheduler control>: Control name
Name of Scheduler control used.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment