PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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.
Versions 21 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
New in version 21
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Android This property is now available for 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> = <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