Description: | Generated when the Return key is pressed or an equivalent condition, specified for some control, occurs. |
ComboBox | The text is being edited and the focus moves to another control in the same form. The text is being edited and the ENTER key is pressed.
The event is generated when the Style property is "0 - Simple" or "1 - DropDown". You can select which conditions cause the event to be generated in the ComboBox property page. |
Edit | Generated in the following cases: If the ReturnWhenLostFocus property is True and the control has the focus, the event is generated when the focus moves to another control in the same form, before generating the LostFocus event. If ReturnWhenEnterKey property is True and you are editing a string, the event is generated when the ENTER key is pressed. If ReturnWhenMaxText property is True, the event is generated when the length of the text reaches the MaxLength property value. Note that, the event is only generated when the text length is changed. For example:
When the MaxLength property is 3, string "ABC" has already been set into the Text property, and you select text "BC". If you replace the text "BC" with "EF" using the Ctrl+V key, the text length is not changed, so the event is not generated. |
Table | A cell is being edited and the focus moves to another control in the same form. A cell is being edited and the focus moves to another cell using one of the arrow keys. A cell is being edited and the ENTER key is pressed. The DecisionMaxString property is True and the input character string reaches the effective maximum length (defined by the picture or date string of RenderText property).
You can select which conditions cause the event to be generated in the Table property page. |
TextBox | When the EditableLabel property is False: The text is being edited and the focus moves to another control in the same form. The text is being edited and the ENTER key is pressed. The input character string reaches the effective maximum length.
When EditableLabel property is True: Data entry is concluded. See the TextBox control description.
The event is generated before the LostFocus event. You can select which conditions cause the event to be generated in the TextBox property page. Note that if you do not set the RenderStyle property to "0 - Standard", the maximum length depends on the picture or date style (it does not depend on the setting of the MaxLength property). |
Others | The text is being edited and the focus moves to another control in the same form. The text is being edited and the ENTER key is pressed.
|
Used in controls: | ComboBox ListView | Table | TextBox | TreeView |
Used in objects: | None. | |
Parameters: | [VT_I4 - IndexS9(9) COMP-5] |
Description of parameters: | Index: When the control is part of an array, Index contains the control's index in the array. |