diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index b12cf55954..21d9a22e81 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -10341,7 +10341,7 @@ If the TabStop is True, the control is in the tab order. If TabStop is False, th OnKeyPress - event controller for a key being pressed while the control has focus

Differs from OnKeyDown in that the key needs to become pressed while the control has focus; with OnKeyDown the key may have already been down when the control received focus.

-

Note: we recomend you to use OnUTF8KeyPress to prevent data lost. National chars are converted from UTF8 to the system encoding in OnKeyPressEvent. This can cause a data lost if symbol cannot be converted. OnUTF8KeyPress does not perform this convertion.

+

Note: we recommend you to use OnUTF8KeyPress to prevent data lost. National chars are converted from UTF8 to the system encoding in OnKeyPressEvent. This can cause a data lost if symbol cannot be converted. OnUTF8KeyPress does not perform this convertion.

@@ -10384,8 +10384,9 @@ If the TabStop is True, the control is in the tab order. If TabStop is False, th UTF8KeyPress - event controller for a key being pressed while the control has focus. -

OnUTF8KeyPress - event controller for a key being pressed while the control has focus

-

Differs from OnKeyDown in that the char does not converts to the system encoding

+

+ OnUTF8KeyPress - event controller for a key being pressed while the control has focus

+

Differs from OnKeyDown in that the char does not converts to the system encoding