PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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. 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 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.
    • Windows Mobile "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. 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 touch on the image (default operating mode in the earlier versions). If several pointers (fingers) are used on the image, the different corresponding processes (pressed/left button down, click, etc.) are called only when the first pointer is used.
  • manage multi-touch on the image ("Recall the processes at each finger (multipoints)"): If several pointers (fingers) are used on the image, the different corresponding processes/events (pressed/left button down, click, etc.) are called on each additional pointer used.
See Managing 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 touch on the image (default operating mode in the earlier versions). If several pointers (fingers) are used on the image, the different corresponding processes (pressed/left button down, click, etc.) are called only when the first pointer is used.
  • manage multi-touch on the image ("Recall the processes at each finger (multipoints)"): If several pointers (fingers) are used on the image, the different corresponding processes/events (pressed/left button down, click, etc.) are called on each additional pointer used.
See Managing 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 touch on the image (default operating mode in the earlier versions). If several pointers (fingers) are used on the image, the different corresponding processes (pressed/left button down, click, etc.) are called only when the first pointer is used.
  • manage multi-touch on the image ("Recall the processes at each finger (multipoints)"): If several pointers (fingers) are used on the image, the different corresponding processes/events (pressed/left button down, click, etc.) are called on each additional pointer used.
See Managing 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 version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment