|
|
|
|
|
- Positioning in the Scheduler control
<Scheduler>.PositionDateTime (Function) In french: <Planning>.PositionDateHeure Displays a Scheduler control from a specified date or returns the date of the first day (or last day) displayed in a Scheduler control.
PLN_Planning.PositionDateHeure(Today())
PLN_Planning.PositionDateHeure("20181220")
Syntax
Positioning the schedule on a specified date Hide the details
<Scheduler control>.PositionDateTime(<Start date>)
<Scheduler control>: Control name Name of Scheduler control to use. This control can correspond to: - the Scheduler control of a window,
- the Scheduler control of a report.
<Start date>: Character string or Date variable Start date for the display.
Finding out the first date or the last date displayed by the Scheduler control Hide the details
<Result> = <Scheduler control>.PositionDateTime([<Sought date>])
<Result>: Character string, or Date or DateTime variable Date (or Date and Time) displayed by the Scheduler control. <Scheduler control>: Control name Name of Scheduler control to use. This control can correspond to: - the Scheduler control of a window,
- the Scheduler control of a report.
<Sought date>: Optional Integer constant Type of sought date: | | orgDateTimeFirstVisible | First date and time displayed in the Scheduler control (depending on the position of the elevator). | schCurrentMonth | First day of the month displayed in the Scheduler control. | schEndDate | Last date displayed in the Scheduler control. | schStartDate (Default value) | First date displayed in the Scheduler control. |
Remarks Positioning in the Scheduler control When <Scheduler>.PositionDateTime is used to display a date, the Scheduler control keeps your display preferences. For example, if the Scheduler control displayed is a weekly schedule starting from Monday, <Scheduler>.PositionDateTime used on a Friday displays the schedule from Monday to Sunday for the week that includes the specified Friday.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|