PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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.
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 version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment