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
GranularityGridlines (Property)
In french: GranularitéQuadrillage
..GranularityGridlines allows you to find out and modify the size of the grid used to display the gridlines in a Scheduler control or in an Organizer control found in a report.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
SCH_MyScheduleRpt..GranularityGridlines = 15
Syntax

Finding out the size of the grid Hide the details

<Result> = <Control name>..GranularityGridlines
<Result>: Integer
Resolution of the grid expressed in minutes. The resolution of the grid is set to 30 minutes by default.
<Control name>: Character string (with or without quotes)
Name of the Scheduler or Organizer control to use.

Modifying the size of the grid Hide the details

<Control name>..GranularityGridlines = <New granularity>
<Control name>: Character string (with or without quotes)
Name of the Scheduler or Organizer control to use.
<New granularity>: Integer
New resolution for the grid expressed in minutes.
  • This value must be found between 1 and 240 minutes (equivalent to 4 hours).
  • This value must be a multiple of 60 (120 or 240 for example) or a sub-multiple of 60 (1, 2, 5, 10, 15, 30).
  • This value corresponds to 30 by default.
The appointments will start from a multiple of this value.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment