ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The property GranularityDisplacement property is used to identify and modify the grid size for displacement:
  • appointments in an Organizer control.
  • appointments in a Scheduler control.
Note To find out and modify the size of the grid used for the duration, use the GranularityDuration property.
Example
// Passage de la grille à 15 minutes 
PLN_Planning1.GranularitéDéplacement = 15
Syntax

Moving elements: Knowing the grid size Hide the details

<Result> = <Control used>.GranularityMovement
<Result>: Integer
Field grid resolution for movement:
  • appointments (in minutes). The default value is:
    • 30 minutes in an Organizer control.
    • 24 hours in a Scheduler control.
For a Scheduler control or Organizer control, this resolution can be between:
    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 field to be manipulated:
    • Organizer control.
    • Scheduler control.

    Moving elements: Change grid size Hide the details

    <Control used>.GranularityMovement = <Value>
    <Control used>: Control name
    Name of the field to be manipulated:
    • Organizer control.
    • Scheduler control.
    <Value>: Integer
    New field grid resolution for moving:
    • appointments in a Scheduler or Organizer control. This resolution is expressed in minutes.
      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 will start on a multiple of this value.
      Minimum version required
      • Version 16
      This page is also available for…
      Comments
      Click [Add] to post a comment

      Last update: 05/10/2025

      Send a report | Local help