PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..GranularityMovement is used to find out and modify the size of the grid used to move:
  • the appointments of an Organizer control.
  • the appointments of a Scheduler control.
Remark: To find out and modify the size of the grid used for the duration, call ..GranularityDuration.
Example
// 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>..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.
For an Organizer or Scheduler control, this resolution can be included 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>: Control name
    Name of control to use:
    • Organizer control.
    • Scheduler control.

    Moving elements: Modifying the size of the grid Hide the details

    <Control>..GranularityMovement = <Value>
    <Control>: Control name
    Name of control to use:
    • Organizer control.
    • Scheduler control.
    <Value>: Integer
    New resolution of the grid used in the control 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