I thought this would be a good idea to use this event so that when loading from resource or some other sources it would give me the chance to make changes during the creation process..
It appears that if I load from resource (lfm) designed info or manual add one via the normal channels this event gets called but always has NIL object.
Drop a TreeView on the form, add a couple of items and implement the OnCustomCreateItem event.
With mine Lazarus as the items are being created and populating the Tree this event gets called but it has a nil pointer..
Can someone explain to me where I am going wrong using this event ?