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 property GranularityDisplacement property is used to identify and modify the grid size for displacement:
  • 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 the duration, use the GranularityDuration property.
Ejemplo
// Switch the grid to 15 minutes 
SCH_Schedule1.GranularityMovement = 15
Sintaxis

Moving elements: Knowing the grid size Ocultar los detalles

<Result> = <Control used>.GranularityMovement
<Result>: Integer
Field grid resolution for movement:
  • appointments (in minutes). The default value is:
    • 30 minutes in an Organizer control.
    • 24 hours in a Scheduler control.
  • WINDEV 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.

Moving elements: Change grid size Ocultar los detalles

<Control used>.GranularityMovement = <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 field grid resolution for moving:
  • appointments in a Scheduler or Organizer control. This resolution is expressed in minutes.
  • WINDEV 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, ...).
The appointments or the events will start on a multiple of this value.
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