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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListView, Detail View, Columns, TextAlign (VB2003) 1

Status
Not open for further replies.

AustinOne

Programmer
Mar 22, 2002
59
US
When I drag a ListView control to the form and set the View property to "Details" and then go to the Columns (Collection) property to set up the column headers, on the first column header, it will not allow me to specify anything other than "Left" for TextAlign, although I can select Left, Right or Center for the other columns/headers.

Why is this?

Thanks,

AustinOne
 
It is the default nature of ListView. A work around is to keep hidden (width=0)column as the first and the second as your first visible column.(Remember! user can still resize the column header to visible.)

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top