PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..RightClick is used to find out and modify the name of the button that will be run when a right click is performed on an object.
By default, the name of the button that will be run during a right click can be defined in the window editor, during the control description ("Details" tab).
Note: If both "Right Click" and "Popup Menu" are specified for the same control, only the action defined for the right click will be run.
Versions 24 and later
Android This property is now available for the Android applications.
New in version 24
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Example
// Change the button associated with the right click of BTN_New
BTN_New..RightClick = "Btn_Wizard"
Syntax

Finding out the button associated with the right click Hide the details

<Button name> = <Control name>..RightClick
<Button name>: Character string
  • Name of the button whose code will be run during a right click on the specified control,
  • Empty string ("") if no button is associated with the right click.
<Control name>: Character string (with or without quotes)
Name of the control for which the name of the button associated with the right click is requested.

Modifying the button associated with the right click Hide the details

<Control name>..RightClick = <New button name>
<Control name>: Character string (with or without quotes)
Name of the control for which the name of the button associated with the right click must be modified.
<New button name>: Character string with quotes
  • Name of the button whose code will be run during a right click on the specified control,
  • Empty string ("") if no button is associated with the right click.
Remarks
..RightClick only applies to the windows and to the window controls (including the table columns). This property cannot be used with the menus, etc.
This property is not available for the following controls:
  • ActiveX,
  • shape,
  • non-clickable image,
  • progress bar,
  • Static control.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment