Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to find something in VB...help appreciated :) 1

Status
Not open for further replies.

JFRobishow

Technical User
Jun 18, 2003
87
CA
Hi,

I'm a complete VB noob and even though I know how to program I never really got into GUI making. Now I need something and I don't know how it's called or if it's included in VB.

I need something that is kind of like a list with scrollbars when it gets too long but seperated in columns.

Something like Windows explorer does when you switch to view>details but I would need to have a list of checkboxes in the first column. That way the user could click to select each given items in the list then from there read what is clicked and well that's about it.

All I need is a GUI frontend to manage an Access db for someone. I thought about doing it with a web interface but then I thought why not jump on the occasions and learn VB :) I just hope it can do what I am trying to do...

Here's a little drawing of what I am looking for in case you don't understand me...as english isn't my first language. If it's possible to add other things than checkboxes that would be nice too, such as buttons in the 3rd columns.

X = checkboxes
| = columns borders

-------------------------------
| X | Some Text | ... |
| X | Some Text | ... |
| X | Some Text | ... |
-------------------------------
 
Look at the ListView control. It will do all you need. It has a Checkboxes property to put checkboxes in the left column, and by using SubItems you can get multiple columns.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Thanks johnwm,

I've read around and it seems to be exactly what I was looking for. I'm still trying to find where it actually is in Microsoft Visual Basic 6...as I said I'm really new to VB. I should be able to find it when I come to adding one though :) Unless someone know exactly where it is, that would save me some time too...but I have other parts to develop before getting to the part where I need one
 
Ok, I found it, it was in comctl32.ocx. Thanks again johnwm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top