PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Using a clickable image
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
Overview
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. Create an Image control: click (or select "Insert .. Control .. Image").On the "Creation" pane, in the "Usual controls" group, click "Image".
  2. Display the control description ("Description" from the popup menu of image).
  3. In the "Details" tab, use the parameters specific to click feature:
    In the "Details" tab, use the parameters specific to click feature:
    • "This image is a click area" is used to make the image clickable. The "Click on the image" process is automatically added to the processes associated with the control.
    • WINDEVWindowsWindows Mobile The option "Priority for mouse clicks" is used to intercept the mouse click on the image, regardless of the z-order position of 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 display a popup menu. See Popup menu of Image controls for more details.Specify whether the image will be handled by the user. See Popup menu of Image controls for more details.
Versions 17 and later
Android Click areas and multi-touch
If the image is considered as being a click area, you can:
  • manage the first time a finger is pressed on the image (default operating mode in the earlier versions). If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called when the first finger is used.
  • manage the different times the fingers are pressed on the image ("Recall the processes at each finger" option): If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called whenever a finger is pressed on the image.
See Managing the multi-touch for more details.
New in version 17
Android Click areas and multi-touch
If the image is considered as being a click area, you can:
  • manage the first time a finger is pressed on the image (default operating mode in the earlier versions). If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called when the first finger is used.
  • manage the different times the fingers are pressed on the image ("Recall the processes at each finger" option): If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called whenever a finger is pressed on the image.
See Managing the multi-touch for more details.
Android Click areas and multi-touch
If the image is considered as being a click area, you can:
  • manage the first time a finger is pressed on the image (default operating mode in the earlier versions). If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called when the first finger is used.
  • manage the different times the fingers are pressed on the image ("Recall the processes at each finger" option): If several fingers are used on the image, the different corresponding processes (finger pressed, click, ...) will be called whenever a finger is pressed on the image.
See Managing the multi-touch for more details.
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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment