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
Returns the appointment, the resource or the date found at given position in a Scheduler control.
Please note The MouseXPos and MouseYPos functions return relevant information only in mouse- or stylus-related processing (click code, hover code, left or right button pressed code, etc.).
Ejemplo
// Affiche dans la trace la date se trouvant à l'endroit survolé 
// (événement optionnel WM_MOUSEMOVE)
// Le résultat serait également obtenu dans le code de bouton gauche relâché (WM_LBUTTONUP)
// Ne pas utiliser dans le code "Sélection d'une période" du champ planning 
// qui n'est pas relié à la souris

MaDate is string
MaDate = PLN_Planning1.InfoXY(schDateTime + schScreenOrigin, MouseXPos(), MouseYPos())
Trace(MaDate)
Sintaxis
<Result> = <Scheduler control>.InfoXY(<Type of information> , <X> , <Y>)
<Result>: Cadena de caracteres o número entero
Requested information:
  • Index of appointment at specified point, -1 if there is no appointment.
  • Date and time (in YYYYMMDDHHSSCC format) of appointment at specified point, empty string ("") if there is no date.
  • Name of resource at specified point, empty string ("") if there is no resource.
<Scheduler control>: Nombre del control
Name of the Scheduler control to be used.
<Type of information>: Constante o combinación de constantes de tipo Integer
Type of information requested:
schAppointmentIndex of the appointment at the specified coordinates.
schDateTimeDate and time of the appointment corresponding to the specified coordinates.
schResourceName of resource corresponding to specified coordinates.
schScreenOriginBy default, the point (0,0) corresponds to the top left of the Scheduler control being manipulated (with the scrollbars at the origin).
If the schScreenOrigin constant is combined with the other constants, the (0,0) point corresponds to the origin of the screen.
This constant cannot be used on its own.
iPhone/iPad This constant is not available.
<X>: Integro
X-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the Scheduler control (if the schScreenOrigin constant is not specified).
<Y>: Integro
Y-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the Scheduler control (if the schScreenOrigin constant is not specified).
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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