PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
SelectedResource (Property)
In french: RessourceSélectionnée
..SelectedResource returns the name of the resource corresponding to the selection made by the user in a Scheduler control.
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
// 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> = <Control Name>..SelectedResource
<Result>: Character string
  • Name of selected resource,
  • Empty string ("") if no resource is selected.
If the schedule resources have been created with SchedulerAddResource by using gLink, the resource name will correspond to the value specified in gLink for this resource.
<Control Name>: Character string (with or without quotes)
Name of Scheduler control used.
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment