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
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,
  • Versions 24 and later
    WindowsLinux a break.
    New in version 24
    WindowsLinux a break.
    WindowsLinux a break.
This function can be used on a browsing or memory Looper control.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
// 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've clicked the row: " + nRow)
Syntax
<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 Looper control to use.
If this parameter corresponds to an empty string (""), LooperInfoXY uses the Looper control to which the current event belongs.
<Type of information>: Constant
Requested type of information:
liControlNameName of the control found at (x, y).
Versions 24 and later
liBreakName
New in version 24
liBreakName
liBreakName
Name of the break at (x,y).
Java This constant is not available.
liLineNumberNumber of the row found at (x, y).
liOriginScreenBy default, (0,0) corresponds to row 1, column 1 (the scrollbars being located at the 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 study. This coordinate is given in relation to the Looper control (if the liOriginScreen constant is not specified).
<Y>: Integer
Y coordinate (in pixels) to study. This coordinate is given in relation to the Looper control (if the liOriginScreen constant is not specified).
Component : wd240obj.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Exemplo
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/3239-procedure-com-indirection-para-selecionar-registro-uma-grid-3240/read.awp
BOLLER
Jun. 24 2019