October 9th, 2003, 02:48 PM
Lisview ? property for 1 column ?
I have a list view, and the program populate it in sort that has many colums has he can enter in a line. But I don't like that at all.
I would like to only have 1 colomn only. If I remember correctly in vb6 you were able to change it with just a property name something like numberofrow =1 or something like that.
but I can't find anything related to it in vb.net !??
I want to use a list view cause everywhere in the program it's use a list view, soo I want to stay with that standart, I doN,t like to have many different things a little bit anywhere.
I checked out the Coloms (collection) property, but I can,t see what it do !
help me please !
October 10th, 2003, 12:31 AM
yourListView.View = System.Windows.Forms.View.Details
October 14th, 2003, 12:26 AM
I don't understand ? What will that change really ?
How will it help me ! :S
October 14th, 2003, 10:25 AM
Thank you that's working !
I would have searching a long time to find that. Thank you ! ! I still don't understand how it's works but it's work find.
October 14th, 2003, 07:41 PM
sorry being lazy typing out only syntax
with listview set to Detail view mode, everything will be displayed downward when the display region is full. Whereas listvew with List view mode, everything is drawn side way when the display region is full.
the control you used to use in VB6 I guess it would be ListBox, not ListView, which by default displays items in one column, and you can specify to have multiple columns.