PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Pre-launched sessions
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
Returns the vertical position (Y) of the mouse cursor in relation to the specified Clickable Image control.
This function can only be used in the click code of a Clickable Image control (whose type is "Map area - Send the click coordinates to the server").This function can only be used in the click code of a Clickable Image control (Clickable Image control with the action "Send the click coordinates to the server" in the "Details" tab of the control description window).
Versions 15 and later
PHP This function is now available for PHP sites.
New in version 15
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
// Click code of IMG_IMAGE1
X is int = ImageXPos()
Y is int = ImageYPos()
IF X > Y THEN
STC_CAPTION1 = "Top - Right"
ELSE
STC_CAPTION1 = "Bottom - Left"
END
Syntax
<Result> = ImageYPos()
<Result>: Integer
Vertical position (or Y coordinate) in pixels of the mouse in relation to the top left corner or the Clickable Image control on which the left mouse button was pressed.
This value is undefined if ImageYPos is used in an event other than the click code of a clickable image whose type is "Click area - Send the click coordinates to the server". This value is undefined if ImageYPos is used in an event other than the click code of a Clickable Image control, whose action is "Send the click coordinates to the server" (in the "Details" tab of the control description window).
Remarks
Versions 20 and later

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the event "Initializing project". This function must be used in the event "Initializing the project after connection to the site".
New in version 20

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the event "Initializing project". This function must be used in the event "Initializing the project after connection to the site".

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the event "Initializing project". This function must be used in the event "Initializing the project after connection to the site".
Component : wd240page.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment