[Lazarus] TTreeView events OnCreateNodeClass and OnAddition
José Mejuto
joshyfun at gmail.com
Sun May 2 18:31:36 CEST 2010
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é
More information about the Lazarus
mailing list