<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 09/08/2010 16:20, Dave Coventry wrote:
<blockquote
cite="mid:AANLkTiks4g00+QRD1RWPY3H=FuOmXyzK3YSfg5Cg=8Lp@mail.gmail.com"
type="cite">
<pre wrap="">I have a TImage object and a TMemo object on a form and I need to get
keyboard presses and display the text into the TMemo.
If a user clicks on the TImage, then the TMemo loses focus and
anything typed is lost.
How can this be resolved?
--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
Have you used the Form's OnKeyPress/OnKeyDown/OnKeyUp events?<br>
<br>
<div class="moz-signature">-- <br>
Att
<i>Guionardo Furlan</i><br>
<blockquote>Timeo hominen unius libri</blockquote>
<br>
<a href="http://guionardofurlan.com.br">http://guionardofurlan.com.br</a></div>
</body>
</html>