|
-
Dec 17th, 2003, 02:49 PM
#1
Thread Starter
Member
building tabpages with listview..
I am working on an application where I want to create tabpages with a listview on them in which I display the content of a section of either an INI file or a XML.. I am having some trouble figuring out the best way to do this.. So far I guess it's sort of like:
setup listview
setup tabpage
setup listview to display on tabpage..
I can however not figure out how to use 1 (string)variable (named Group) to setup a unique listview (lstGroup) and tabpage (tabGroup) Right now I pass the groupname to the code building the tabpage and listview three times as in : call buildtab(Group, Group, Group) ... There must be a way to use 1 unique name and convert that from a string to a listview to a tabpage right?
probably a simple solution, but I just seem to be missing it..
any help as always much appreciated..
-
Dec 17th, 2003, 04:28 PM
#2
I wonder how many charact
Perhaps you could create your own tabpage (inheriting from Windows.TabPage), which exposes a listview, or a collection of listviews, as a property of the TabPage.
So you can have code to the effect of:
VB Code:
MyTabPage.ListViews.Add()
MyListView = MyTabPage.ListViews(i)
-
Dec 17th, 2003, 05:29 PM
#3
Thread Starter
Member
I think I understand what you are saying, but have no idea how to do this.. any pointers as to where I can find information on this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|