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
The Property PeriodSelection is used to know and indicate whether the user can select a period:
  • in a Scheduler control.
  • in an Organizer control.
This property is equivalent to the "Allow the selection of periods" option found in the "Details" tab of the description window of the Scheduler and Organizer controls.
Versions 18 and later
PHP This property is now available for PHP sites.
New in version 18
PHP This property is now available for PHP sites.
PHP This property is now available for PHP sites.
Versions 21 and later
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
New in version 21
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
iPhone/iPad This property is now available for Scheduler controls in iPhone/iPad applications.
Android This property is now available for Scheduler controls in Android applications
Versions 24 and later
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
New in version 24
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
Android This property is now available for Organizer controls in Android applications.
iPhone/iPad This property is now available for Organizer controls in iPhone/iPad applications.
Example
// Management options of a Scheduler control
IF gbModifMode = True THEN
PLN_MyPlanning.MoveRDV = True
PLN_MonPlanning.SaisieDirecteRDV = True
PLN_MyPlanning.PeriodSelection = True
ELSE
PLN_MyPlanning.MoveRDV = False
PLN_MonPlanning.SaisieDirecteRDV = False
PLN_MyPlanning.PeriodSelection = False
END
// Management options of an Organizer control
IF gbModifMode = True THEN
AGD_MyAgenda.displacementRDV = True
AGD_MyAgenda.SelectionPeriod = True
AGD_MyAgenda.Direct InputRDV = True
IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN
AGD_MyAgenda.ModificationDurationRDV = True
END
ELSE
AGD_MyAgenda.displacementRDV = False
AGD_MyAgenda.SelectionPeriod = False
AGD_MyAgenda.Direct InputRDV = False
IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN
AGD_MyAgenda.ModificationDurationRDV = False
END
END
Syntax

Finding out whether the user can select a period Hide the details

<Result> = <Control used>.PeriodSelection
<Result>: Boolean
  • True if the user can select a period,
  • False if the user cannot select a period.
<Control used>: Control name
Name of control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.

Allowing (or not) the user to select periods Hide the details

<Control used>.PeriodSelection = <Selection of periods>
<Control used>: Control name
Name of control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.
<Selection of periods>: Boolean
  • True to allow the user to select periods,
  • False not to allow the user to select periods.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment