{RIGHTCLICK}

Syntax

{RIGHTCLICK=Function_Name(Arguments)}

Argument

Type

Description

Function_Name(Arguments)

C

A function to call when the user clicks the right mouse button.

Description

The {RIGHTCLICK} function responds to right-clicks. It is supported only by the Tree and List Box controls.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only

Example

ui_dlg_box("right_click",<<%dlg%

{rightclick=right_click(local_variables())} [%S=BRL%.40,10:branch^<tree] <*Ok>

%dlg%)

...

function right_click as C (vars as P)

with vars

result = ui_popup_menu(<<%menu%

...

See Also

Adding Right-Click Context Menus, Xdialog Commands