Hello dear TMS team!
Just an other question on DBPlanner/TCustomItemEditor...
I've implemented an descendent from TCustomItemEditor and used
your PlanSimpleEdit as "template".
As speciality I have to use it only in runtime and do it like this:
itemEditor := TMyItemEditor.Create( self );
itemEditor.CreateEditor( self );
selectedPlannerItem.Editor := itemEditor;
This works but only partially:
by opening the editor from plannerItems context menu,
I get all expected data in the Editor.
On closing the Editor with mrOk the changes are
displayed in the planner but the DB data remain unchanged.
If use TPeriodItemEditor the same way, it works!?
how do I have to remove the editor at runtime?
Is ItemEditor.Free the right way or do I have to do something else?