ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Clickable Image control
  • Overview
  • Action on click: No server call
  • Action on click: Server call
  • Action on click: Clickable areas defined in edit mode (Image map)
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
Image control: Operating mode of a clickable image
Overview
You can define the click actions of an Image control ("General" tab of the control description window) to make it Clickable Image control.
Action on click: No server call
If the click action is "No server call", the Image control will be a simple clickable image, associated only with a browser click code. You can associate an action with a click on the image:
  • in the editor, in the "Type" field.
  • programmatically, in browser code only.
However, you cannot get the mouse coordinates or define clickable areas.
Action on click: Server call
If the click action is "Server call", the image will be clickable and will be associated with a server click code.
If "During the action" is set to "Send click coordinates", you can get the click coordinates in server code (using ImageXPos and ImageYPos, or PageParameter with the "POS" parameter).
For more details, see Retrieving the click coordinates.
Action on click: Clickable areas defined in edit mode (Image map)
If the click action is "Click areas defined in edit mode (Image map)", the image will support clickable areas. This type of image is also called Image Map.
An action can be associated with the click on the image and on each clickable area defined.
For more details, see Defining clickable areas.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 06/12/2023

Send a report | Local help