Topic: Get Bug " TableGrid1.LoadFromTextFile() "
TableGrid1.LoadFromTextFile Not Effect in MVD 5.2
procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
var
opendialog : Topendialog ;
begin
opendialog := Topendialog.Create(Form1);
IF opendialog.execute then
begin
Form1.TableGrid1.LoadFromTextFile(opendialog.Filename) ;
Form1.Memo1.Lines.LoadFromFile(opendialog.Filename) ;
end;
Form1.TableGrid1.BestFitColumns(bfboth);
opendialog.Free ;
end;
begin
end.
Easy For Beginner Student For Me