Jump to content

about TuniTreeNode 's question!


Guest

Recommended Posts

Message from: "bettersoft"

 

var

Node, GrandNode : TTreeNode;

if OprUniTreeView.Selected.Level=0 then

begin

Node :=OprUniTreeView.Selected.getFirstChild;

while Node<>nil do

begin

Node.ImageIndex := ImgIndex;

Node := Node.GetNextSibling;

end;

end;

 

Node is nil ?

OprUniTreeView.Selected.getFirstChild Why not UniTreeNode, but the TreeNode?

OprUniTreeView.Selected.GetLastChild Is TtreeNode

OprUniTreeView.Selected.getNextSibling is TtreeNode

...

 

 

.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...