OnKeyDown:
Code:
if Key = VK_RETURN then
if HiWord(GetKeyState (VK_SHIFT)) <> 0 then
SelectNext (Sender as TWinControl, False, True)
else
SelectNext (Sender as TWinControl, True, True);
Someone's sitting in the shade today because someone planted a tree a long time ago.