Page 1 of 1

Column definitions lost on close and reopen project

Posted: Mon Nov 05, 2018 9:43 am
by 18684834
I just bought TeeGrid V1.06 and I'm trying to use it in one of my projects.
Use Delphi Tokio 10.2.3 in FMX on Windows 7 Pro.
I did this test:
1) I added a TeeGrid to my project
2) Connected the grid to a TDataSource -> TFDQuery -> TFDConnection
3) defined the titles of the columns, alignment and other.
4) executed and tested the project is Ok
5) saved the project
6) I checked in the MyForm.fmx file and the column definitions are saved (left side of the attached screen)
7) close and reopen the project and the column definitions in form disappeared
8) saved the project
9) I checked in the MyForm.fmx file and the column definitions are not saved (right side of the attached screen, defaul fields definition for my query)
it seems that by reloading the project it destroys the definitions of the saved columns.
I tried with the active dataset and not, persistent fields and not, but the problem remains
I tried to create an empty project and put only the grid, query and connection and the problem is not there, both in FMX and in VCL
what can this cause? How can I solve?
thank you

Re: Column definitions lost on close and reopen project

Posted: Wed Nov 07, 2018 11:09 am
by yeray
Hello,

I've tested it both in VCL and FMX and, as you say, the problem isn't reproduced.
It's difficult to say what's going on without reproducing the problem in a simple test project.
Please, try removing things from your main project to try to find what makes the difference.