|
|
|
|
|
PeriodSelection (Property) In french: SélectionPériode
The PeriodSelection property is used to determine and specify if the user can select a time period: - in a Scheduler control.
- in an Organizer control.
This property is equivalent to the "Allow time range selection" option in the "Details" tab of the Scheduler and Organizer control description windows.
// Management options of a Scheduler control IF gbModifMode = True THEN SCH_MySchedule.MovementAPT = True SCH_MySchedule.DirectInputAPT = True SCH_MySchedule.PeriodSelection = True ELSE SCH_MySchedule.MovementAPT = False SCH_MySchedule.DirectInputAPT = False SCH_MySchedule.PeriodSelection = False END
// Management options of an Organizer control IF gbModifMode = True THEN ORG_MyOrganizer.MovementAPT = True ORG_MyOrganizer.PeriodSelection = True ORG_MyOrganizer.DirectInputAPT = True IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN ORG_MyOrganizer.ModificationDurationAPT = True END ELSE ORG_MyOrganizer.MovementAPT = False ORG_MyOrganizer.PeriodSelection = False ORG_MyOrganizer.DirectInputAPT = False IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN ORG_MyOrganizer.ModificationDurationAPT = 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 the 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 the 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|