Hello Lazarus-List,

Sunday, May 2, 2010, 12:29:49 AM, you wrote:

MG> TV.NodeClass:=TFileTreeNode;
MG> TV.Items.Add(nil,'');
MG> TV.NodeClass:=TDirectoryTreeNode;
MG> TV.Items.Add(nil,'');
MG> Does not look complicated to me.

For sure not very complicated :) My mind was a bit ofuscated as I was
playing with threads, and from a thread point of view an event seems
more easy, but as threads and LCL are not good friends...

Maybe it was added thinking in a class creator based in a data pointer
instead a sequenced code, but anyway any of both seems quite simple.

-- 
Best regards,
 José


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to