ObjectDCL Banner

OnReturnPressed Event

Description

Indicates the user pressed the 'Enter' key.

AutoLISP Syntax

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

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnReturnPressed ()
     
)

Applies For

BlockList, ListView, TextBox.

Example

CopyCode imageCopy Code
; React to the user pressing return
(princ c:MyForm_MyControl_OnReturnPressed ()
     (princ "OnReturnPressed()\n")
)