mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 21:30:38 +01:00
docs: OnKeyPress
git-svn-id: trunk@16523 -
This commit is contained in:
parent
e3c91d17ff
commit
8e68d6a959
@ -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 -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user