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
..Resource is used to:
  • find out the resources visible in a Scheduler control.
  • find out the resource of the Scheduler control corresponding to the specified subscript.
Versions 21 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
Android This property is now available for the Android applications.
New in version 21
iPhone/iPad This property is now available for the iPhone/iPad applications.
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Android This property is now available for the Android applications.
Example
SchedulerAddResource(SCH_Schedule1, "Vince" + gLink("VP"))
SchedulerAddResource(SCH_Schedule1, "Tommy" + gLink("TM"))

Trace(SCH_Schedule1..Resource[1]..Title) // Returns "Flo"
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> = <Control Name>[<Subscript>]..Resource
<Result>:
Name of the requested resource.
<Control Name>: Character string (with or without quotes)
Name of Scheduler control used.
<Subscript>: Integer
Subscript of the requested resource.

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

<Result> = <Control Name>..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.
<Control Name>: Character string (with or without quotes)
Name of Scheduler control used.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment