Xbasic

{RIGHTCLICK}

Syntax

{RIGHTCLICK= Function_Name(Arguments) }

Arguments

Function_Name(Arguments)

Character. 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.

Example

ui_dlg_box("right_click",<<%dlg%
{rightclick=right_click(local_variables())} [%S=BRL%.40,10:branch^
%dlg%)
...
function right_click as C (vars as P)
with vars
result = ui_popup_menu(<<%menu%
...

Limitations

Desktop applications only

See Also