inheriting from a TListview and creating coluimns in the OnCreate
Posted on 1999-11-03
I have inherited a new component 'TLogView' from the TListView. I have setup various 'extras' in the OnCreate and I need to create some columns. I tried to do this in the OnCreate and I get Control "" has no parent window when I try to add the component to a form. I tried to override the Loaded method (as according to the help this is where you would do any additional initialization after all properties have been streamed in) like so:
but creating a TLogView in the OnCreate of the form and even after setting the Parent, it does not call Loaded!
Can anyone help