PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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).
Remark: 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 Android applications.
New in version 24
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Example
// Change the button associated with the right click of BTN_New
BTN_New.RightClick = "Btn_Assistant"
Syntax

Identifying the Button control associated with the right click Hide the details

<Button control> = <Control used>.RightClick
<Button control>: Character string
  • Name of the Button control whose code will be executed when right-clicking the specified control,
  • Empty string ("") if no Button control is associated with the right click.
<Control used>: Control name
Name of the control for which the name of the Button control associated with the right click is requested.

Modifying the Button control associated with the right click Hide the details

<Control used>.RightClick = <New Button control>
<Control used>: Control name
Name of the control for which the name of the button associated with the right click must be modified.
<New Button control>: Control name
  • Name of the Button control whose code will be executed when right-clicking the specified control,
  • Empty string ("") if no button is associated with the right click.
Remarks
Property RightClick applies only to windows and fields in a window (including 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,
  • libellé.
Java The Property RightClick applies only to the following items:
  • Button.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Window.
  • Table.
  • Table column.
  • Supercontrol.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment