ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
For a given position (coordinates of a point) in the Organizer control, returns:
  • the index of the appointment for the specified position.
  • the date corresponding to the specified position.
Example
// Connaître la date située à la position du curseur de la souris 
// dans le champ Agenda
dDate is Date
dDate = OrganizerInfoXY(AGD_MonAgenda, oriDateTime, MouseXPos(), MouseYPos())

// La date survolée devient la première date affichée par l'agenda
OrganizerPosition(AGD_MonAgenda, dDate)
// Afficher le lieu du rendez-vous dans la bulle de survol
// Code Survol souris (WM_MOUSEMOVE) du champ Agenda:
nIndiceRendezVous is int
nIndiceRendezVous = OrganizerInfoXY(AGD_AGENDA, oriAppointment, ...
		MouseXPos(), MouseYPos())

IF nIndiceRendezVous <> -1 THEN
	// Un rendez-vous est sous le curseur de la souris ...
	AGD_AGENDA.Bulle = "Rendez-vous à " + AGD_AGENDA[nIndiceRendezVous].Lieu
END
Syntax
<Result> = OrganizerInfoXY(<Organizer control> , <Type of information> , <X> , <Y>)
<Result>: Integer, character string or Date variable
  • Requested information.
  • An empty string ("") if the oriDateTime constant is used and if no date is found at the specified coordinates.
  • -1 if the oriAppointment constant is used and if no appointment is found at the specified coordinates.
<Organizer control>: Control name
Name of Organizer control to use (found in a window)
<Type of information>: Integer constant (or combination of constants)
Type of information requested:
oriAppointmentIndex of the appointment at the specified coordinates.
oriDateTimeDate and time of the appointment corresponding to the specified coordinates.
oriScreenOriginBy default, the point (0,0) corresponds to the top-left point of the Organizer control being manipulated (with the scrollbars at the origin)..
If oriScreenOrigin constant is combined with the other constants, (0,0) corresponds to the origin of the screen.
This constant cannot be used on its own.
<X>: Integer
X-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the Organizer control (if the oriScreenOrigin constant is not specified).
<Y>: Integer
Y-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the Organizer control (if the oriScreenOrigin constant is not specified).
Component: wd300obj.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help