PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 17 and later
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
New in version 17
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
WINDEVReports and Queries This function can now be used to handle the Organizer controls found in a report.
Versions 18 and later
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
New in version 18
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
PHP This function is now available for the PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Organizer controls found in a report.
Versions 24 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
New in version 24
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
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 Organizer control to use. This control can correspond to:
  • WINDEV an Organizer control in a window. WINDEVAndroidiPhone/iPad an Organizer control in a window.
  • an Organizer control in a report.
  • Versions 18 and later
    WEBDEV - Server codePHP an Organizer control in a page.
    New in version 18
    WEBDEV - Server codePHP an Organizer control in a page.
    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 Organizer control to use. This control can correspond to:
  • WINDEV an Organizer control in a window. WINDEVAndroidiPhone/iPad an Organizer control in a window.
  • an Organizer control in a report.
  • Versions 18 and later
    WEBDEV - Server codePHP an Organizer control in a page.
    New in version 18
    WEBDEV - Server codePHP an Organizer control in a page.
    WEBDEV - Server codePHP an Organizer control in a page.
<Sought date>: Optional Integer constant
Type of sought date:
orgStartDate
(Default value)
First date displayed in the Organizer control.
orgEndDateLast date displayed in the Organizer control.
orgCurrentMonthFirst day of the month displayed in the Organizer control.

Note: If the organizer is in "daily" display mode, the two constants are equivalent.
Component : wd240mdl.dll
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment