<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Are you creating new components with this new 
behaviour ?</FONT></DIV>
<DIV><FONT face=Arial size=2>Are you wanting to implement this behaviour in 
these components ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards<BR>Paul McKenzie<BR>SMSS 
Ltd.<BR>Wellington<BR>New Zealand</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=johnkbird@paradise.net.nz 
  href="mailto:johnkbird@paradise.net.nz">John Bird</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
  href="mailto:delphi@ns3.123.co.nz">'NZ Borland Developers Group - Delphi 
  List'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 07, 2004 5:13 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [DUG] Stringgrid Q</DIV>
  <DIV><BR></DIV>
  <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>&nbsp;</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>&nbsp;</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>&nbsp;</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&nbsp;- 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>&nbsp;</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>&nbsp;</DIV></FONT>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV class=Section1>
  <P class=MsoAutoSig align=left>John Bird</P>
  <P class=MsoAutoSig><FONT face=Arial color=#000000 
  size=2></FONT>&nbsp;</P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Delphi mailing 
  list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE></BODY></HTML>