<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=857564203-07122004></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=857564203-07122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=857564203-07122004>I want
to change the default Delphi behaviour in a couple of areas, not sure best
way:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=857564203-07122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=857564203-07122004>q1 -
How can I change the default behaviour for an edit box to accept the Enter key
as if a Tab was pressed</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=857564203-07122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=857564203-07122004>q2 -
Similar in a stringgrid - if I press Enter in a particular cell what is the best
way to make it behave as if clicked or double clicked - I know how to write
code for the click or double click event, but not how to get the Enter key to do
the same.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=857564203-07122004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=857564203-07122004>Q3 -
how do I right justify numbers in a cell of a stringgrid (eg
12345.67)?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2> </DIV></FONT>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left>John Bird</P>
<P class=MsoAutoSig><FONT face=Arial color=#000000
size=2></FONT> </P></DIV></BODY></HTML>