Hi
I need some help with the TwwDBgrid component.
I am working on a Delphi upgrade project from Delphi 7 to Delphi 10.2. I have upgraded to the Woll2Woll Inforpower 4k for RAD studio 10.2.3 v 19.5.1.4-4k
My application is an exe launching a dll for some processing. The application has a TwwDBgrid on the form with the datasource from the Datamodule of the application. The TwwDBgrid has 1 column of data listed in the Selected list in the Design time. When application is run, the grid does not display any data even though the source dataset has records in it. Also, on application termination, the TwwDBgrid gives a access violation.
But when I set wwDBgrid.UseTFields to false on FormShow event, then I can see the data and on FormClose I set it back to true, I do not get the access violation.
Please suggest the reason behind this behavior of TwwDBgrid.
thank you,
I'm not aware of the cause of your problem. When useTFields is true, then it will use and manipulate the tfield's visibility settings. If you have other controls (such as lookupcombos that have usetfields=true), then they could also do this. I normally recommend using usetfields as false so the grid determines what is seen on its own.
As far as having an exception on application termination, can you view your call stack at that time. It will likely give us more information.
hi Woll2Woll team,
Any suggestions/solutions for solving the above problem is appreciated.