|
|
|
|
|
OrganizerInfoXY (Function) In french: AgendaInfoXY 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.
dDate is Date
dDate = OrganizerInfoXY(AGD_MonAgenda, oriDateTime, MouseXPos(), MouseYPos())
OrganizerPosition(AGD_MonAgenda, dDate)
nIndiceRendezVous is int
nIndiceRendezVous = OrganizerInfoXY(AGD_AGENDA, oriAppointment, ...
MouseXPos(), MouseYPos())
IF nIndiceRendezVous <> -1 THEN
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: | | oriAppointment | Index of the appointment at the specified coordinates. | oriDateTime | Date and time of the appointment corresponding to the specified coordinates. | oriScreenOrigin | By 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).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|