PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 RightClick property is used to get and change the name of the Button control that will be executed when an object is right-clicked.
By default, you can define the name of the Button control executed when right-clicking the window editor, in 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 the BTN_New control
BTN_New.RightClick = "Btn_Wizard"
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
The RightClick property applies only to windows and controls 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 control,
  • Shape control,
  • Non-clickable Image control,
  • Progress Bar control,
  • Static control.
Java The RightClick property applies only to the following elements:
  • Button control.
  • Edit control.
  • Image control.
  • Check Box control.
  • Radio Button control.
  • List Box control.
  • Combo Box control.
  • TreeView control.
  • Tab control.
  • Window.
  • Table control.
  • Table column.
  • Supercontrol.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment