PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property Resource Selected returns the name of the Resource corresponding to the user's selection in an Scheduler control.
Example
// Click code on BTN_NEW_APT button
MyAPT is Appointment
IF PLN_Planning1.ResourceSelected = "" THEN
RETURN
END
 
MyRDV.StartDate = PLN_Planning1.StartDate
MonRDV.DateFin = PLN_Planning1.DateFin
MyRDV.Resource = PLN_Planning1.Resource Selected
Syntax
<Result> = <Scheduler control>.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.
<Scheduler control>: Control name
Name of Scheduler control used.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment