...force the input in a TEdit?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: VCL

procedure TForm1.Edit1Exit(Sender: TObject);
begin
  if Edit1.Text = '' then
    Edit1.SetFocus;
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base