<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Arial>This one has me foxed. I have a
standard unit which is a form dialog at the start of many programs - which
gets an access code and a password.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>In one program only it misbehaves - the Tedit
fields never seem to get focus properly, so although the users can type text,
there is no cursor and the onexit event of the TEdit does not
fire. Also default text in the Tedit does not show as
selected. Subsequent returns to this and other edit boxes do behave
properly.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>This is Delphi 2007 - problem shows for this
program on Windows 7 and XP. XP Manifest is in use. Very little
processing before this dialog form is shown...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Note I have already done code like
Edit1.Setfocus -- it does not fix the problem.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Anyone have any ideas??? Normal build
and compile all and deleting all dcus has not fixed it.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Also is there any way to force a Tedit to have its
text selected. </FONT><FONT size=2 face=Arial></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>John</FONT></DIV></BODY></HTML>