Jump to content

How To Close Another Main Node When A Main Node Is Opened In TUniTreeView?


Frederick

Recommended Posts

Let's say I have the following tree view structure:-

Main Node 1
   - Sub Node 11
   - Sub Node 12
Main Node 2
   - Sub Node 21
   - Sub Node 22

Currently, when I click main node 1, it opens to show the sub nodes 11 and 12. When I click main node 2, it also opens to show sub nodes 21 and 22. However, main node 1 remains opened.

How do I, when I click main node 2, cause main node 1 to close? In other words, there can only be one main node opened at any one time.

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1565)
 

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...