All pastes #45702 Raw Edit

Catch open error?

public text v1 · immutable
#45702 ·published 2006-03-14 18:22 UTC
rendered paste body
  try
    Memo1.Lines.LoadFromFile(Edit1.Text);
  except
    on EFOpenError: Exception do Memo1.Lines.Text := 'Not found: ' + Edit1.Text;
  end;