ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
SelectedResource (Property)
In french: RessourceSélectionnée
The SelectedResource property returns the name of the resource that corresponds to the user's selection in a Scheduler control.
Example
// Click code on BTN_NEW_APT button
MyAPT is Appointment
IF SCH_Scheduler1.SelectedResource = "" THEN
RETURN
END
 
MyAPT.StartDate = SCH_Scheduler1.StartDate
MyAPT.EndDate = SCH_Scheduler1.EndDate
MyAPT.Resource = SCH_Scheduler1.SelectedResource
Syntax
<Result> = <Scheduler control>.SelectedResource
<Result>: Character string
  • Name of the selected resource,
  • Empty string ("") if no resource is selected.
If the resources in the schedule have been created with SchedulerAddResource by using gStoredValue, the resource name will correspond to the value specified in gStoredValue for this resource.
<Scheduler control>: Control name
Name of the Scheduler control used.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help