PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

Products
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses

..GranularityDuration allows you to find out and modify the size of the grid used to resize:
  • the appointments of a Scheduler control.

Note: To find out and modify the size of the grid used for the move, call ..GranularityMovement.

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 Name>..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.
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, ...).
<Control Name>: Character string (without quotes)
Name of the control to use:
  • Organizer control.
  • Scheduler control.

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

<Control Name>..GranularityDuration = <Value>
<Control Name>: Character string (without quotes)
Name of the control to use:
  • Organizer control.
  • Scheduler control.
<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. 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, ...).
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment