AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Agenda
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
Displays an Organizer control from a specified date or returns the date of the first day (or the date of the last day) displayed in an Organizer control.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle Organizer controls in a report.
Example
// Positions the organizer on today's date
ORG_Organizer1.Position(Today())
// Positions the organizer on December 20, 2012
ORG_Organizer1.Position("20121220")
// Find out the first date displayed in the organizer
OrganizerDate is Date
OrganizerDate = ORG_MyOrganizer.Position()
Syntax

Positioning the organizer on a specified date Hide the details

<Organizer control>.Position(<Start date>)
<Organizer control>: Control name
Name of the Organizer control to be used. This control can correspond to:
  • WINDEVAndroidiPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server codePHP an Organizer control in a page.
<Start date>: Character string or Date variable
Start date for the display.

Finding out the first date or the last date displayed by the Organizer control Hide the details

<Result> = <Organizer control>.Position(<Sought date>)
<Result>: Character string or Date variable
Date displayed by the Organizer control.
<Organizer control>: Control name
Name of the Organizer control to be used. This control can correspond to:
  • WINDEVAndroidiPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server codePHP an Organizer control in a page.
<Sought date>: Optional Integer constant
Type of sought date:
orgCurrentMonthFirst day of the month displayed in the Organizer control.
orgDateTimeFirstVisibleFirst date and time displayed in the Organizer control (depending on the position of the scrollbar).
orgEndDateLast date displayed in the Organizer control.
orgStartDate
(Default value)
First date displayed in the Organizer control.
AndroidPHP Not available.

Remark: If the Organizer control is displayed in "per day" mode, the orgStartDate and orgEndDate constants are equivalent.
Component: wd290mdl.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/06/2023

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