![]() |
Virtualtreeview : Tbutton.visible
Liste der Anhänge anzeigen (Anzahl: 1)
hello,
I need when I click in the node(see the picture) with child(level 1 or 2..) render tbutton.visible = true(expand) or false(collapse) with this code i have an exception
Delphi-Quellcode:
any idea ?
procedure HasDuplicateChecked(bVisible : boolean;Node: PVirtualNode);
Var ParentNode, ChildNode,ChildNode1: PVirtualNode; I, J: Integer; nbData: TNodeData; Begin ParentNode := node; ChildNode := ParentNode.FirstChild; for i := 0 to ParentNode.ChildCount - 1 do begin ChildNode1 := ChildNode.FirstChild; if editVST.HasChildren[ChildNode]= true then begin for J := 0 to ChildNode.ChildCount - 1 do begin nbData:=TNodeData(editVST.GetNodeData(ChildNode1)^); if nbData.Column6 <> nil then nbData.Column6.Visible := bVisible; ChildNode1 := ChildNode.NextSibling; end; end else begin nbData:=TNodeData(editVST.GetNodeData(ChildNode)^); if nbData.Column6 <> nil then nbData.Column6.Visible := bVisible; end; ChildNode := ChildNode.NextSibling; end; End; Thanks |
AW: Virtualtreeview : Tbutton.visible
First, please set the code inside these tags [ delphi][/delphi]
And second: please tell us, which exception is raised. |
AW: Virtualtreeview : Tbutton.visible
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:49 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz