Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • Using a clickable image
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
WINDEV and WINDEV Mobile give you the ability to use clickable images. A clickable image is an image (displayed in an Image control) that can be clicked by the user. A specific process (click code of the image) is run.
Unlike a button, no pressed effect is seen when a clickable image is clicked.
Using a clickable image
To use a clickable image in an application:
  1. On the "Creation" pane, in the "Usual controls" group, click "Image".
  2. Open the control description ("Description" in the popup menu of the image).
  3. In the "Details" tab, use the parameters specific to click feature:
    • The option "This image is a clickable area" is used to make the image clickable. The "Click on the image" event is automatically added to the WLanguage events associated with control.
    • WINDEVWindows "Priority for the clicks" allows to intercept the click on the image, regardless of the Z-order of the Image control in the window. If this option is not checked, the Image control must be displayed in the foreground to intercept the mouse click.
    • Specify whether the image will be handled by the user. For more details, see Context menu of Image controls.
Related Examples:
WD SharingMemory Training (WINDEV): WD SharingMemory
[ + ] This example explains how to use the function for sharing memory with WINDEV.

Several applications may share data when they are started at the same time. In this case, you may have to use a shared memory zone. This memory zone will allow all the started applications to share some information.
The Image control (map area) Unit examples (WINDEV): The Image control (map area)
[ + ] Using the Image control to manage map areas
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment