ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 DoubleClick property is used to get and change the name of the Button control that will be executed when a List Box, ListView, Table, Looper, Check Box, Radio Button or TreeView control is double-clicked.
By default, you can define the name of the Button control executed when double-clicking in the window editor, in the control description ( "Details" tab).
Example
// Change the Button control associated with the double click on "LIST_Map"
LIST_Map.DoubleClick = "BTN_Wizard"
Syntax

Finding out the Button control associated to the double click Hide the details

<Button control> = <Control used>.DoubleClick
<Button control>: Control name
  • Name of the Button control whose code will be executed when double-clicking the specified control.
  • Empty string ("") if no Button control is associated with the double click.
<Control used>: Control name
Name of the control (List Box, ListView, TreeView, Looper, Check Box, Radio Button or Table) for which we want to know the name of the button associated with the double click.

Change the Button control associated with the double click Hide the details

<Control used>.DoubleClick = <New Button control>
<Control used>: Control name
Name of the control (List Box, ListView, TreeView, Looper, Check Box, Radio Button or Table) for which we want to modify the name of the button associated with the double click.
<New Button control>: Control name
  • Name of the Button control whose code will be executed when double-clicking the specified control,
  • Empty string ("") if no Button control is associated with the double click.
Remarks
The DoubleClick property can only be used in the following controls:
  • TreeView controls,
  • List Box and ListView controls,
  • Looper controls,
  • Table and TreeView Table controls,
  • Check Box controls,
  • Radio Button controls,
  • Calendar controls,
  • TreeMap controls,
  • Organizer controls,
  • Scheduler controls.
Java The DoubleClick property can only be used on List Box and TreeView controls.
Android The DoubleClick property is not available on Table controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2023

Send a report | Local help