PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Limitation
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
..GranularityDuration allows you to find out and modify the size of the grid used to resize:
  • WINDEVWEBDEV - Server codePHP the appointments of an Organizer control. the appointments of an Organizer control.
  • the appointments of a Scheduler control.
  • Versions 18 and later
    WINDEV the events of a TimeLine control.
    New in version 18
    WINDEV the events of a TimeLine control.
    WINDEV the events of a TimeLine control.
  • Versions 19 and later
    WINDEV the tasks found in a Gantt Chart column.
    New in version 19
    WINDEV the tasks found in a Gantt Chart column.
    WINDEV the tasks found in a Gantt Chart column.
Note: To find out and modify the size of the grid used for the move, call ..GranularityMovement.
Versions 21 and later
iPhone/iPad This property is now available for the Scheduler controls in the iPhone/iPad applications.
Android This property is now available for the Scheduler controls in the Android applications.
New in version 21
iPhone/iPad This property is now available for the Scheduler controls in the iPhone/iPad applications.
Android This property is now available for the Scheduler controls in the Android applications.
iPhone/iPad This property is now available for the Scheduler controls in the iPhone/iPad applications.
Android This property is now available for the Scheduler controls in the Android applications.
Versions 24 and later
Android This property is now available on Organizer controls in Android applications.
iPhone/iPad This property is now available on Organizer controls in iPhone/iPad applications.
New in version 24
Android This property is now available on Organizer controls in Android applications.
iPhone/iPad This property is now available on Organizer controls in iPhone/iPad applications.
Android This property is now available on Organizer controls in Android applications.
iPhone/iPad This property is now available on Organizer controls in iPhone/iPad applications.
Example
// Switch the grid to 15 minutes
ORG_Organizer1..GranularityDuration = 15
Syntax

Duration of elements: Finding out the size of the grid Hide the details

<Result> = <Control>..GranularityDuration
<Result>: Integer
Resolution of the grid found in the control for the duration:
  • of appointments (in minutes). The default value is set to:
    • 30 minutes in an Organizer control.
    • 24 hours in a Scheduler control.
  • Versions 18 and later
    WINDEV of 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.
    New in version 18
    WINDEV of 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.
    WINDEV of 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.
  • Versions 19 and later
    WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
    New in version 19
    WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
    WINDEV 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 1 (one minute) and 240 (4 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.
For an Organizer or Scheduler control, this resolution can be included between:
  • WEBDEV - Server codeAndroidiPhone/iPad For a Scheduler control: 1 (one minute) and 1440 (24 hours).
  • WINDEV For a Scheduler control, between 1 (one minute) and 43200 (1 month).
  • WINDEVWEBDEV - Server code For an Organizer control: 1 (one minute) and 1440 (24 hours). WINDEVWEBDEV - Server codeAndroidiPhone/iPad 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>: Control name
Name of control to use:
  • WINDEVWEBDEV - Server codePHP Organizer control. Organizer control.
  • Scheduler control.
  • Versions 18 and later
    WINDEV TimeLine control.
    New in version 18
    WINDEV TimeLine control.
    WINDEV TimeLine control.
  • Versions 19 and later
    WINDEV Gantt Chart column.
    New in version 19
    WINDEV Gantt Chart column.
    WINDEV Gantt Chart column.

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

<Control>..GranularityDuration = <Value>
<Control>: Control name
Name of control to use:
  • WINDEVWEBDEV - Server codePHP Organizer control. Organizer control.
  • Scheduler control.
  • Versions 18 and later
    WINDEV TimeLine control.
    New in version 18
    WINDEV TimeLine control.
    WINDEV TimeLine control.
  • Versions 19 and later
    WINDEV Gantt Chart column.
    New in version 19
    WINDEV Gantt Chart column.
    WINDEV Gantt Chart column.
<Value>: Integer
New resolution of the grid found in the control for the duration:
  • of appointments in a Scheduler or Organizer control. This resolution is expressed in minutes.
  • Versions 18 and later
    WINDEV of events in a TimeLine control. The unit depends on the display unit used for the control.
    New in version 18
    WINDEV of events in a TimeLine control. The unit depends on the display unit used for the control.
    WINDEV of events in a TimeLine control. The unit depends on the display unit used for the control.
  • Versions 19 and later
    WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
    New in version 19
    WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
    WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
This value must be a multiple of 60 (120, 240, 320, ...) or a sub-multiple of 60 (1, 2, 5, 10, 15, 30, ...).
Remarks

Limitation

This property is not available for the Organizer controls and for the Scheduler controls found in the reports.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment