H
Hexman
Off on another journey through vb.net.
What I want to do now is have a tab-control with 1 to 8 tab-pages for
categories. I've read where there is not a hide method so I guess
I'll have to tabpage.remove and tabpage.add at execution time.
On each tab-page I will have a datagrid (parent) and a couple of other
controls (radio buttons, labels, checkboxes, etc). Below the
tab-control will be a datagrid showing related data (child info) for
the selected
parent-row in the selected tab-page above it.
I'm in a quandry on how to set this up.
I can set up tab-page 1 and copy it to the other seven pages at design
time. How do I do it at run time since I'm changing the number of
tab-pages to display?
I seem to remember there was a way to have the same controls on each
page (without duplication - eg; having only one datagrid (just
changing to a different query string of the data set for each
tab-page) and visible on each tab-page). Surely I dont have to setup
8 datagrids, do I?
The data for the parent datagrid on each tab-page comes from the same
table (just different records based on category).
If I have to add and remove tab-pages at run-time, how do I easily
position all controls on that page?
I hope I've made this clear enough. Looking for recommendations,
references, code examples.
Thanks,
Hexman
What I want to do now is have a tab-control with 1 to 8 tab-pages for
categories. I've read where there is not a hide method so I guess
I'll have to tabpage.remove and tabpage.add at execution time.
On each tab-page I will have a datagrid (parent) and a couple of other
controls (radio buttons, labels, checkboxes, etc). Below the
tab-control will be a datagrid showing related data (child info) for
the selected
parent-row in the selected tab-page above it.
I'm in a quandry on how to set this up.
I can set up tab-page 1 and copy it to the other seven pages at design
time. How do I do it at run time since I'm changing the number of
tab-pages to display?
I seem to remember there was a way to have the same controls on each
page (without duplication - eg; having only one datagrid (just
changing to a different query string of the data set for each
tab-page) and visible on each tab-page). Surely I dont have to setup
8 datagrids, do I?
The data for the parent datagrid on each tab-page comes from the same
table (just different records based on category).
If I have to add and remove tab-pages at run-time, how do I easily
position all controls on that page?
I hope I've made this clear enough. Looking for recommendations,
references, code examples.
Thanks,
Hexman