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
The Property Resource allows to:
  • find out the resources visible in a Scheduler control.
  • find out the resource of the Scheduler control corresponding to the specified subscript.
Example
SchedulerAddResource(PLN_Planning1, "Flo" + gLink("FP"))
SchedulerAddResource(PLN_Planning1, "Manu" + gLink("EB"))
 
Trace(PLN_Planning1.Ressource[1].Titre) // Renvoie "Flo"
SchedulerAddResource(PLN_Planning1, "Salle verte")
SchedulerAddResource(PLN_Planning1, "Salle rouge")
SchedulerAddResource(PLN_Planning1, "Salle bleue")
 
FOR EACH NomSalle OF PLN_Planning1.Ressource
Trace("Nom: " + NomSalle.Titre)
END
Syntax

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

<Result> = <Scheduler control>[<Subscript>].Resource
<Result>:
Name of the requested resource.
<Scheduler control>: Control name
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> = <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