
Indicates that the user has clicked the left mouse button on the Button. If the control is a grid control, the user has clicked on the ellipses or pick button.
Each control that throws this event has its handler that takes this generic form:
Copy Code |
|---|
(defun c:FormName_ControlName_OnBtnClicked (nRow [as Integer] nCol [as Integer] /) ) |
Copy Code |
|---|
; React to the mouse click on the component
(defun c:MyForm_MyControl_OnBtnClicked (nRow nCol /)
(princ "OnBtnClicked(")
(princ nRow)
(princ ",")
(princ nCol)
(princ ")\n")
) |
OnClicked, OnClicked (BlockList), OnClicked (CheckBox), OnClicked (ListView), OnClicked (Option),