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 Looper
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
Used to find out the element located at a given position in the Looper control (X, Y). This element can be:
  • a row,
  • a control,
  • WindowsLinuxiPhone/iPad a break.
This function can be used on Looper controls based on a data file or populated programmatically.
Ejemplo
// Click on the left mouse button
x is int = MouseXPos() 
y is int = MouseYPos() 
nRow is int = LooperInfoXY(LOOP_Looper1, liLineNumber, x, y) 
Trace("You have clicked on the row: " + nRep)
Sintaxis
<Result> = LooperInfoXY(<Looper control> , <Type of information> , <X> , <Y>)
<Result>: Character string or integer
  • Requested information.
  • An empty string ("") if no control is found at specified location.
  • -1 if no row number is found at specified location.
<Looper control>: Control name
Name of the Looper control to be used.
If this parameter corresponds to an empty string (""), LooperInfoXY uses the Looper control to which the current event belongs.
<Type of information>: Constant
Type of information requested:
liBreakNameName of the break at (x,y).
AndroidJava This constant is not available.
liControlNameName of the control found at (x,y).
liLineNumberNumber of the row found at (x,y).
liOriginScreenBy default, point (0,0) corresponds to row 1, column 1 (with scrollbars at origin).
If the liOriginScreen constant is combined with the previous constants, the (0,0) point 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 Looper control (if the liOriginScreen constant is not specified).
<Y>: Integer
Y-coordinate (in pixels) to be analyzed. This coordinate is given in relation to the Looper control (if the liOriginScreen constant is not specified).
Clasificación Lógica de negocio / UI: Código UI
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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