docs: OnKeyPress

git-svn-id: trunk@16523 -
This commit is contained in:
mattias 2008-09-10 10:16:36 +00:00
parent e3c91d17ff
commit 8e68d6a959

View File

@ -10341,7 +10341,7 @@ If the TabStop is True, the control is in the tab order. If TabStop is False, th
<var>OnKeyPress</var>
- event controller for a key being pressed while the control has focus</p>
<p>Differs from <link id="#lcl.Controls.TWinControl.OnKeyDown">OnKeyDown</link> in that the key needs to become pressed while the control has focus; with <var>OnKeyDown</var> the key may have already been down when the control received focus.</p>
<p>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.</p>
<p>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, which means OnKeyPress is not called or with Char=#0. OnUTF8KeyPress does not perform this conversion.</p>
</descr>
</element>
<!-- property Visibility: public -->