RyanB88

I need a multi-columed list box where the entire row is one item though, kind of like the listbox that the IDE uses for build error listing. Is their such a control, or property for the listbox control


Re: Visual Basic General Special type of ListBox?

DMan1

Listview control with 'View" set to 'Details" and 'FullRowSelect' set to true




Re: Visual Basic General Special type of ListBox?

RyanB88

I don't see either of those properties, i am in alphabetic listing but all i see that starts with V is:

* ValueMember
* Visible

and for F all I see is:

* Font
* ForeColor
* FormatString
* FormattingEnabled

no View and no FullRowSelect.





Re: Visual Basic General Special type of ListBox?

DMan1

What version of VB are you using (although I believe those properties are valid all they way back to VB6)

Are you creating the listview control progmatically or dropping it on the designer surface

If dropping on the designer surface you can set the properties from the property window.

As far as the intellisense is concerned make sure you are viewing "All" not just "Common"

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Me.ListView1.FullRowSelect = True

Me.ListView1.View = View.Details

End Sub






Re: Visual Basic General Special type of ListBox?

RyanB88

well they don't exist in 2005



Re: Visual Basic General Special type of ListBox?

RyanB88

oh i see, your code shows me exactly what you are talking about a listview, not a listbox which is what i've been using.

EDIT: Ah you did specify listview in your original post, i just needed to RTFP.