![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | TeeGrid throws an Access Violation when is tried to set value to cells | ||
|---|---|---|---|
| Product: | TeeGrid for Delphi | Reporter: | sandra pazos <sandra> |
| Component: | Grid | Assignee: | david berneda <david> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
TeeGrid throws an Access Violation when is tried to set value to cells. The code below reproduce the problem. void __fastcall TForm1::AddSampleData() { //variables Data = new TStringsData(5,20,70); Data->Headers[0] ="C0"; Data->Headers[1] ="C1"; Data->Headers[2] ="C2"; Data->Headers[3] ="C3"; Data->Headers[4] ="C4"; for (int col=0; col < Data->Columns; col++) { for (int row=0; row < Data->Rows; row++) { Data->Cells[col][row] = FloatToStr(Random(100)); } } TeeGrid1->Data = Data; }