PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV 27 feature!
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
The Clickable property is used to determine and change how an Image control behaves when it is clicked.
Remark: This corresponds to the "This image is a clickable area" option in the "Details" tab of the Image control description window.
Example
// Make an Image control unresponsive to mouse clicks
IMG_MyImage.Clickable = False
Syntax

Determining how an Image control behaves when clicked Hide the details

<Image control> = <Behavior>.Clickable
<Image control>: Control name
Name of the Image control used.
<Behavior>: Boolean
  • True if the Image control is a clickable area. In this case, all mouse events (press, release, hover, double-click, right-click, etc.) are captured by the Image control.
  • False otherwise. In this case, the control does not capture any mouse events. Mouse events are captured by the underlying controls or by the window.

Changing how an Image control behaves when clicked Hide the details

<Image control>.Clickable = <New behavior>
<Image control>: Control name
Name of the Image control used.
<New behavior>: Boolean
  • True if the Image control is a clickable area. In this case, all mouse events (press, release, hover, double-click, right-click, etc.) are captured by the Image control.
  • False otherwise. In this case, the control does not capture any mouse events. Mouse events are captured by the underlying controls or by the window.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment