1 (edited by AD1408 2019-08-08 09:22:38)

Topic: TreeView Top Record only content

Is it possible to have tree top record content only when top record is selected?
For all child records as it's current functionality.

Post's attachments

Attachment icon tree_topRecord.png 14.25 kb, 143 downloads since 2019-08-08 

Adam
God... please help me become the person my dog thinks I am.

Re: TreeView Top Record only content

Also a working project if any help. Used two Form1 but it should be done with one Form1 if possible.

Post's attachments

Attachment icon TreeViewNodesDisplay.zip 8.13 kb, 247 downloads since 2019-08-08 

Adam
God... please help me become the person my dog thinks I am.

Re: TreeView Top Record only content

AD1408 wrote:

Is it possible to have tree top record content only when top record is selected?
For all child records as it's current functionality.

When you select "TOP RECORD Managing director", you want to see all employees from Director Technology, IT Infrasructure, System Engineering ?

Dmitry.

Re: TreeView Top Record only content

DriveSoft wrote:
AD1408 wrote:

Is it possible to have tree top record content only when top record is selected?
For all child records as it's current functionality.

When you select "TOP RECORD Managing director", you want to see all employees from Director Technology, IT Infrasructure, System Engineering ?

No, I'd add content for top record nodes separately without the use of secondary table if possible. Therefore, it would show content added for top record only. Nothing else.


So, selecting  "TOP RECORD Managing director" would only show if there is a content for it, which would have been added separately via separate form and button.

Adam
God... please help me become the person my dog thinks I am.

Re: TreeView Top Record only content

Unfortunately I can't understand your question.

Dmitry.

6 (edited by AD1408 2019-08-08 13:09:02)

Re: TreeView Top Record only content

DriveSoft wrote:

Unfortunately I can't understand your question.


I have tried to illustrate my question. Hopefully, it's explained bit better now.


https://i.postimg.cc/N0NJjJSB/tree-top-Record.png


I used Form1b for illustration purposes but it should only Form1 used; perhaps via show/hide depending on top or child record selected if possible

Post's attachments

Attachment icon tree_topRecord.png 50.33 kb, 126 downloads since 2019-08-08 

Adam
God... please help me become the person my dog thinks I am.

Re: TreeView Top Record only content

Here is another attempt to explain my question of displaying top record content separately via a sample project.

Post's attachments

Attachment icon TreeViewNodesDisplayExmp.zip 10.43 kb, 264 downloads since 2019-08-10 

Adam
God... please help me become the person my dog thinks I am.