Return

[event icon] Return() Event

Called if the ReturnEvent property has been set to TRUE and the user has pressed the RETURN key

Applies to: KCMLEdit


>

Return

This event handler is only called if the ReturnEvent property has been set to TRUE, and the user has pressed the RETURN key within an Edit control. It replaces the normal behaviour of RETURN which is to action any default button.

If a validate event handler also exists for the control then it will be called instead if the text has been modified since the text was last valid. Focus will stay on the control.

See also

KCMLEdit methods, properties and events.