I have to set the dblClick event for a Teltreeinplaceedit control; This is my line:
eltreeinplaceedit1.editor.OnDblClick := treeCompDblClick;
I get the message Control ' ' has no parent Window.
I am using ElPack4 and cannot change...
Can I fix this somehow ?
Thank you.
P.S. The message appears after the treeCompDblClick is successfully completed.
Comments
http://forum.lmd.de/discussion/74/fixes-to-avoid-no-parent-window-
exception#Item_2
When you have to stay with ElPack 4, compile source code with debug info, identify offending line of sources and make sure that actions happen only when a valid handle is allocated (if HandleAllocated... etc.)