AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The GranularityDuration property gets and sets the size of the grid to resize:
  • appointments in an Organizer control.
  • appointments in a Scheduler control.
  • WINDEV events in a TimeLine control.
  • WINDEV tasks in a Gantt Chart column.
Note To find out and modify the size of the grid used for moving, use the GranularityMovement property.
Ejemplo
// Switch the grid to 15 minutes 
ORG_Organizer1.GranularityDuration = 15
Sintaxis

Element duration: Know the grid size Ocultar los detalles

<Result> = <Control used>.GranularityDuration
<Result>: Integer
Grid resolution of the field for the duration:
  • of appointments (in minutes). The default value is:
    • 30 minutes in an Organizer control.
    • 24 hours in a Scheduler 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.
  • WINDEV of tasks in a Gantt Chart column. The default value is set to 1 hour.
For a Scheduler control or Organizer control, this resolution can be between:
  • WEBDEV - Código ServidorAndroidiPhone/iPadIOS Widget 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 - Código ServidorAndroidiPhone/iPadIOS Widget 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 used>: Control name
Name of the field to be manipulated:
  • Organizer control.
  • Scheduler control.
  • WINDEV TimeLine control.
  • WINDEV Gantt Chart column.

Element duration: Change grid size Ocultar los detalles

<Control used>.GranularityDuration = <Value>
<Control used>: Control name
Name of the field to be manipulated:
  • Organizer control.
  • Scheduler control.
  • WINDEV TimeLine control.
  • WINDEV Gantt Chart column.
<Value>: Integer
New grid resolution for field duration:
  • of appointments in a Scheduler or Organizer control. This resolution is expressed in minutes.
  • WINDEV of events in a TimeLine control. The unit depends on the display unit used for the control.
  • 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, ...).
Observaciones
  • Events smaller than the size defined with the GranularityDuration property are not displayed.
  • This property is not available for Organizer and Scheduler controls in reports.
Versión mínima requerida
  • Versión 16
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local