|
|
|
|
|
GranularityMovement (Property) In french: GranularitéDéplacement
The GranularityMovement property is used to get and change the size of the grid to move: - appointments in an Organizer control.
- appointments in a Scheduler control.
events in a TimeLine control. tasks in a Gantt Chart column.
Remark: To get and change the size of the grid used for the duration, call the GranularityDuration property.
// Switch the grid to 15 minutes SCH_Schedule1.GranularityMovement = 15
Syntax
Moving elements: Finding out the size of the grid Hide the details
<Result> = <Control used>.GranularityMovement
<Result>: Integer Resolution of the grid used in the control for moving: - appointments (in minutes). The default value is set to:
- 30 minutes in an Organizer control.
- 24 hours in a Scheduler control.
events in a TimeLine control. The default value is set to 60 (seconds, milliseconds or microseconds). The unit depends on the display unit used for the control. of tasks in a Gantt Chart column. The default value is set to 1 hour.
For an Organizer or Scheduler control, this resolution can be included between: ![WEBDEV - Server code WEBDEV - Server code](https://doc.windev.com/ext/images/us/WBS.png?-1123132264) ![Android Android](https://doc.windev.com/ext/images/us/ANDROID.png?385929803) ![iPhone/iPad iPhone/iPad](https://doc.windev.com/ext/images/us/IPHONE.png?1493160723) For a Scheduler control: 1 (one minute) and 1440 (24 hours). For a Scheduler control, between 1 (one minute) and 43200 (1 month). ![WINDEV WINDEV](https://doc.windev.com/ext/images/us/WD.png?-158481145) ![WEBDEV - Server code WEBDEV - Server code](https://doc.windev.com/ext/images/us/WBS.png?-1123132264) ![Android Android](https://doc.windev.com/ext/images/us/ANDROID.png?385929803) ![iPhone/iPad iPhone/iPad](https://doc.windev.com/ext/images/us/IPHONE.png?1493160723) For an Organizer control: 1 (one minute) and 1440 (24 hours). This value must be a multiple of 60 (120, 240, 320, ...) or a sub-multiple of 60 (1, 2, 5, 10, 15, 30, ...). The appointments or the events start on a multiple of this value. <Control used>: Control name Name of the control to be used: - Organizer control.
- Scheduler control.
TimeLine control. Gantt Chart column.
Moving elements: Modifying the size of the grid Hide the details
<Control used>.GranularityMovement = <Value>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|