Mega Code Archive

 
Categories / Delphi / VCL
 

How to force the input in a TEdit

Title: How to force the input in a TEdit procedure TForm1.Edit1Exit(Sender: TObject); begin if Edit1.Text = '' then Edit1.SetFocus; end;