By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,282 Members | 1,548 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,282 IT Pros & Developers. It's quick & easy.

Outlook/Help file multipane sytle app

P: n/a
Im am writing an application that will looks similar to Outlook or a help
file, i.e tree structure on left with right hand side pane showing data. It
is split into two panes.The Left pane has a treeview. When the nodes in the
tree are selected data is shown in the right pane.

I am using a treeview in the left pane and was wondering what is the best
way to show the data being selected in the right pane.

It's been suggested i use a panel control in the right hand pane to display
the data from the treeview.

For each node in the treeview i need to show a different set of data/view.
One node will have a few controls like combo boxes,text boxes,push buttons,
which will be used to produce a report.

Another view will contain text with some link labels that if clicked on will
bring up another page of text or a dialog.

Other nodes will have different views.

I would like advice on how i could show the different views for the nodes
and how i would design them. Would i need multiple panels or is there
another way to do it?
Thanks In Advance
Macca
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Macca,

What you could do is when you construct the nodes in the treeview, you
can set the tag property to the Type representing the control that you want
to show in the right hand side. Then, you can create the control, and pass
it the node information (you will have to implement an interface on the
control to accept the node information which tells it how to configure
itself).

Then, you just add the control as a child to the right hand side, and
then show it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Macca" <as****@dsl.pipex.com> wrote in message
news:Ne********************@pipex.net...
Im am writing an application that will looks similar to Outlook or a help
file, i.e tree structure on left with right hand side pane showing data.
It
is split into two panes.The Left pane has a treeview. When the nodes in
the
tree are selected data is shown in the right pane.

I am using a treeview in the left pane and was wondering what is the best
way to show the data being selected in the right pane.

It's been suggested i use a panel control in the right hand pane to
display
the data from the treeview.

For each node in the treeview i need to show a different set of data/view.
One node will have a few controls like combo boxes,text boxes,push
buttons,
which will be used to produce a report.

Another view will contain text with some link labels that if clicked on
will
bring up another page of text or a dialog.

Other nodes will have different views.

I would like advice on how i could show the different views for the nodes
and how i would design them. Would i need multiple panels or is there
another way to do it?
Thanks In Advance
Macca

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.