...force the input in a TEdit?
procedure TForm1.Edit1Exit(Sender: TObject); begin if Edit1.Text = '' then Edit1.SetFocus; end;
printed from www.swissdelphicenter.ch developers knowledge base