|
-
Jul 14th, 2010, 07:19 PM
#1
Thread Starter
Junior Member
[RESOLVED] Not sure what type of control I need
Hey,
Like the title say im not sure what type of VB.Net control I need, or will need to customise, but I'll lay out what I want from my design and hopefully someone can point me in the right direction.
Im going to have a arraylist of the class Person (simple class with the following variables: name, age, gender, and a brief paragraph). What I'd like is to be able to show the user a list of all the instances of the class person in the array list, but for each instance to show all the information its holding in one box/grid.

So im looking to do something along the lines of whats in the image above. Is there a control already in vb.Net (2008) that will allow this or will I have to look to creating my own, and if so where should I start looking?
-
Jul 15th, 2010, 05:03 AM
#2
Re: Not sure what type of control I need
For a layout like that, I think you'll have to make your own/custom control. You could use a ListView but all the info of one record/person would be in one line.
-
Jul 15th, 2010, 05:29 AM
#3
Re: Not sure what type of control I need
VB6 has a DataRepeater control. The illustration at that link shows several sorts of controls in the repeated element, you could use Labels or something if you don't want direct input (or to see the control borders, etc.).
There is probably something similar in VB.Net.
-
Jul 15th, 2010, 07:00 AM
#4
Thread Starter
Junior Member
Re: Not sure what type of control I need
Thanks...
Had a look for that data repeater control for vb.net and it seems theres one in the vb.net power pack 3.0 so I'm going to give that a try
-
Jul 15th, 2010, 11:22 PM
#5
Re: Not sure what type of control I need
If you've installed SP1 for VS 2008 or VB Express 2008 then you already have the DataRepeater control in your Toolbox, as the PowerPacks are installed as part of SP1.
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
|