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 varias
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 Resource property is used to:
  • find out the resources visible in a Scheduler control.
  • get the resource of the Scheduler control that corresponds to the specified index.
  • Novedad versión 2025
    change the color of the Scheduler control resource for the specified index.
Ejemplo
SchedulerAddResource(PLN_Planning1, "Flo" + gStoredValue("FP"))
SchedulerAddResource(PLN_Planning1, "Manu" + gStoredValue("EB"))
Trace(PLN_Planning1.Ressource[1].Titre) // Renvoie "Flo"
SchedulerAddResource(PLN_Planning1, "Salle verte")
SchedulerAddResource(PLN_Planning1, "Salle rouge")
SchedulerAddResource(PLN_Planning1, "Salle bleue")
FOR EACH NomSalle OF PLN_Planning1.Ressource
	Trace("Nom: " + NomSalle.Title)
END
SchedulerAddResource(PLN_SansNom1,"AA")
PLN_Planning1.Ressource["AA"].CouleurFond = DarkGreen
Sintaxis

Finding out the Nth resource of a Scheduler control Ocultar los detalles

<Résultat> = <Champ Planning>.Resource[<Indice>]
<Result>:
Name of the requested resource.
<Scheduler control>: Control name
Name of the Scheduler control used.
<Index>: Integer
Index of the requested resource.

Finding out the resources visible in a Scheduler control Ocultar los detalles

<Result> = <Scheduler control>.Resource
<Result>: Array
Name of the array containing the visible resource of the Scheduler control. The only property that can be used on an element of this array is Title.
<Scheduler control>: Control name
Name of the Scheduler control used.
Novedad versión 2025

Change the color of the Nth resource in a Scheduler control Ocultar los detalles

<Champ Planning>.Ressource[<Indice>].BackgroundColor = <Couleur>
<Scheduler control>: Control name
Name of the Scheduler control used.
<Index>: entier
Index of the requested resource.
<Color>: Integer or Integer constant
Resource background color. This color can correspond to:Note: If this parameter is set to -1 or the constant transparent, the default background color is restored.
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: 21/09/2024

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