ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
GranularityGridlines (Property)
In french: GranularitéQuadrillage
The GranularityGridlines property gets and changes the size of the grid that defines the gridlines in a Scheduler or Organizer control in a report.
Example
SCH_MyScheduleRpt.GranularityGridlines = 15
Syntax

Finding out the size of the grid Hide the details

<Result> = <Control used>.GranularityGridlines
<Result>: Integer
Resolution of the grid expressed in minutes. The resolution of the grid is set to 30 minutes by default.
<Control used>: Control name
Name of the Scheduler or Organizer control to use.

Modifying the size of the grid Hide the details

<Control used>.GranularityGridlines = <New granularity>
<Control used>: Control name
Name of the Scheduler or Organizer control to use.
<New granularity>: Integer
New resolution for the grid expressed in minutes.
  • This value must be between 1 and 240 minutes (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

Last update: 05/26/2022

Send a report | Local help