|
|
|
|
|
RightClick (Property) In french: ClicDroit
The RightClick property gets and sets the name of the Button control that will be executed when an object is right-clicked. You can also choose directly in the window editor the Button control executed when the specified object is right-clicked ("UI" tab of the control description window). Note If the "Right-click" and "Context menu" options are set for the same field, only the right-click action will be executed.
BTN_New.RightClick = "Btn_Wizard"
Syntax
Getting 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 you want to get the name of the Button control associated with the right click.
Changing 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 you want to change the Button control associated with the right click. <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 (including the columns of a Table control). This property cannot be used with menus, etc. This property is not available for the following controls: - ActiveX control,
- Shape control,
- Non-clickable Image control,
- Progress Bar control,
- Static Text control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|