Mega Code Archive
Categories
/
Delphi
/
VCL
Force the input in a TEdit
Title: force the input in a TEdit? procedure TForm1.Edit1Exit(Sender: TObject); begin if Edit1.Text = '' then Edit1.SetFocus; end;