ObjectDCL Banner

OnRightClick Event

Description

Indicates that the control has just gained the user input focus.

AutoLISP Syntax

Each control that throws this event has its handler that takes this generic form:

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnRightClick ()
     
)

Applies For

BlockView, DwgPreview, Grid (Hatch), ListBox, PictureBox, SlideView, TreeControl.

Example

CopyCode imageCopy Code
; React to the right click of a mouse
(defun c:MyForm_MyControl_OnRightClick ()
     (princ "OnRightClick()\n")
)

See Also

OnClicked, OnClicked (BlockList), OnClicked (CheckBox), OnClicked (ListView), OnClicked (Option), OnDblClicked, OnRightDblClick