[Lazarus] Send keys to visual component
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Mar 15 22:02:54 CET 2008
On Sat, 15 Mar 2008 20:22:32 +0200
Denis Golovan <denisgolovan at yandex.ru> wrote:
> Hi, all
>
> I have problems with sending (emulation) keypresses to visual
> controls under Lazarus. Final solution must work under wince :). Hope
> Lazarus will help.
>
> I try as wiki states:
>
> var K:TUTF8Char;
> ...
> K:=IntToStr(1); //simplified example
> grdBusket.IntfUtf8KeyPress( K, 1, false ); //sending key to grid
> control ...
>
> but with no luck.
TControl.Intf* functions should only be used by the LCL
interfaces.
Maybe if you explain what effect you want to achieve, some windows/wince
devel can help.
Mattias
More information about the Lazarus
mailing list