|
|
|
|
RightClick (Property) In french: ClicDroit
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.
// 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|