Topic: Bug Found in 6.3
hello Dmitiry..
i found an error in 6.3 version..
when i click in grid then this error shows. in version 6.0 its works properly
My Visual Database → General → Bug Found in 6.3
hello Dmitiry..
i found an error in 6.3 version..
when i click in grid then this error shows. in version 6.0 its works properly
blackpearl8534,
Even if your code would work I hate to say this but it is very inefficient. You are spinning through the tablegrid every time you click on it just to get the info from the selected row. You do not need to do this. As soon as the user clicks on a row it is selected so you can get the cell info from the row immediately. See below.
procedure Form1_TableGrid1_OnCellClick (Sender: TObject; ACol, ARow: Integer);
begin
Form3.Edit3.Text := Form1.TableGrid1.Cells[2,ARow];
Form3.Edit4.Text := Form1.TableGrid1.Cells[3,ARow];
Form3.Edit5.Text := Form1.TableGrid1.Cells[5,ARow];
Form3.Edit6.Text := Form1.TableGrid1.Cells[6,ARow];
Form3.ShowModal; // or whatever you want to do at this point
end;
Let me know if you still get the error.
Hello.
Please attach your project, I will test it.
My Visual Database → General → Bug Found in 6.3
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi