|
|
|
|
|
Resource (Property) In french: Ressource
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.
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 the 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 the Scheduler control used.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|