ReturnEvent
ReturnEvent
Enable/disable the Return() event handler
Read-only This is a style property that is only available in the forms designer. It is possible to modify this programmatically through the Style property in the Create event.
Applies to: Grid , GridCell , KCMLEdit
Used to enable and disable the Return() event handler used by the Edit control. If set to TRUE then the Return() event handler will be called if the user presses the RETURN key while in the Edit control. This overrides the normal behaviour for RETURN which is to action any default button. Focus will stay on the edit control. For example:
.EditControl1.ReturnEvent = TRUE
If a validate event handler also exists for the control then it will be called instead if the text has been modified.