PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the values of headers corresponding to a position in a Pivot Table control in pixels.
Example
pos is pvtPosition of TCD_Statistiques
pos = PVTInfoXY(TCD_Statistiques, MouseXPos(), MouseYPos())
IF pos.EnDehors = True THEN
LIB_Libellé  = ""
ELSE
LIB_Libellé = "Année =" + pos.Année + ...
"Produit = " + pos.Produit + ...
"Ventes  = " + TCD_Statistiques.VAL_Ventes[pos]
END
Syntax
<Result> = PVTInfoXY(<Pivot Table control> , <X> , <Y>)
<Result>: pvtPosition variable
pvtPosition variable containing the characteristics of selected cell.
Remarks:
  • If the position does not correspond to any cell of the dynamic cross array (-1,-1), the Property Endehors of the Variable pvtPosition is True.
  • The (0,0) position corresponds to the 1st cell at the top left.
<Pivot Table control>: Control name
Name of Pivot Table control to use.
<X>: Integer
X-coordinate (in pixels) to study. This coordinate is relative to the client area of the control.
<Y>: Integer
Y-coordinate (in pixels) to study. This coordinate is relative to the client area of the control.
Component: wd270obj.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment