There is something rotten in the kingdom of TMS
I'm in a state where the table can't be activated. Delphi runs at 30%.
If TDBPlannerMonthView does not have a DataSource, then the table can be activated.
Please note that this condition occurred for no apparent reason. Deleting and re-inserting TDBPlannerMonthView, Table, and DataSource didn't help either.
I will not send you a sample because:
I need to have Firebird connected - even if it's embeded, you refuse to use it
The created example works. Herkopater doesn't know when he gets into a bad state
I can just send you pas and dfm files.
This is very little information for us to be able to give an efficient help.
Activate at runtime, use the DBPlannerMonthView.OnFieldsToItem event to see how many times it is called to begin with and if possibly it is somehow in a loop. Check for what records this event is called. Hopefully, you can learn from there what is happening.
Then do it from a button, put a breakpoint on the line where you activate, put a breakpoint in OnFieldsToItem, put outputdebugstring in this event handler to see what is happening, ... in other words, the usual debugging techniques...
I used the button. I will remain hanging on the line fdtblPlanner.Active: = True; But now I can quit the application. I had to drop Delphi before.
I am attaching pictures. Maybe they'll help with something. I will try to transfer the form to the exercise program.
Like always. The information is incomplete
I don't do anything with them! Their only use is in DataBinding. See picture. In preparation for further development. IMAGE - RECURENCY = NULL