> A quick question what is the best way to get a control to exit itself (i.e
> fake TAB being pressed)\
function FindNextControl(CurControl: TWinControl;
GoForward, CheckTabStop, CheckParent: Boolean): TWinControl;
EG in your Listbox on click you could use something like
var
C :TWinControl;
begin
C := LB.FindNextControl(LB,True,True,False);
if C<>nil the C.SetFocus;
end;
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz