Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event

This commit is contained in:
Ansgar Becker
2019-07-21 20:12:13 +02:00
parent 88a9e53f0d
commit fcdf323086
26 changed files with 8 additions and 36 deletions

View File

@ -47,8 +47,6 @@ procedure TDataSortingForm.FormCreate(Sender: TObject);
var
i: Integer;
begin
TranslateComponent(Self);
ColumnNames := TStringList.Create;
// Take column names from listColumns and add here
for i:=0 to Mainform.SelectedTableColumns.Count-1 do begin