
Indicates a mouse button was pressed over this control.
Each control that throws this event has its handler that takes this generic form:
Copy Code |
|---|
(defun c:FormName_ControlName_OnMouseDown (nButton [as Integer] nFlags [as Integer] nX [as Integer] nY [as Integer] /) ) |
BlockView, DwgPreview, EditableGrid, Grid (Hatch), ListView, PictureBox, SlideView.
Copy Code |
|---|
; React to the mouse button being released
(princ c:MyForm_MyControl_OnMouseDown
(nButton nFlags nX nY /)
(princ "OnMouseDown(")
(princ nButton)
(princ ", ")
(princ nFlags)
(princ ", ")
(princ nX)
(princ ", ")
(princ nY)
(princ ")\n")
) |