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 / Funciones WLanguage / Controles, páginas y ventanas / Funciones del planificador
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
Adds a new resource into a Scheduler control.
Ejemplo
// Adds a resource (a meeting room) into the Scheduler control
// Meeting is the data file that describes the available meeting rooms
SchedulerAddResource(SCH_RoomOccupancy, Meeting.Name + gStoredValue(Meeting.MeetingID))
Novedad versión 2025
WEBDEV - Código Servidor
// Add a resource to the Scheduler control using HTML code
s is string = [
	<p><font color="red">Morgane</font></p>
	<p><font color="#00FF00">(Sales department)</font></p>
]
SchedulerAddResource(PLN_Planning, s + gStoredValue("Morgane"))
Sintaxis
<Result> = SchedulerAddResource(<Scheduler control> , <Resource> [, <Image>])
<Result>: Integer
  • Index of added resource,
  • -1 if an error occurred. ErrorInfo is used to identify the error.
<Scheduler control>: Control name
Name of Scheduler control into which the resource will be added. This field may correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Resource>: Character string
Name of the added resource. An invisible value can be added by gStoredValue.
Novedad versión 2025
WEBDEV - Código Servidor HTML code can also be used to add rich text and images.
<Image>: Optional character string
Path and name of the background image for the title of the resource. This image is displayed below the header of the row or column containing the name of the resource.
WEBDEV - Código ServidorLinuxPHPAjax This parameter is not available.
Componente: wd300mdl.dll
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: 27/03/2025

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