Apr 3, 2002 #1 GAORR Programmer Nov 22, 2001 48 CA I'd like to be able to right align data in a listview. Is this possible ? Thanks
Apr 3, 2002 Thread starter #2 GAORR Programmer Nov 22, 2001 48 CA Found the answer. The alignment is set when the columnheader is added. ie: lvListView.ColumnHeaders.Add , , "Cost", 750, 1 the last 1 is for right alignment 2 is for centered the default (left blank) is left aligned Thanks Upvote 0 Downvote
Found the answer. The alignment is set when the columnheader is added. ie: lvListView.ColumnHeaders.Add , , "Cost", 750, 1 the last 1 is for right alignment 2 is for centered the default (left blank) is left aligned Thanks
Apr 3, 2002 #3 MarkSweetland MIS Aug 30, 2000 1,177 US Set the Alignment Property during the ColumnHeaders.Add method to lvwColumnRight ( or lvwColumnCenter, lvwColumnCenter) lstServerfiles.ColumnHeaders.Add , , "FileSize", lstServerfiles.Width / 3, lvwColumnRight Mark Upvote 0 Downvote
Set the Alignment Property during the ColumnHeaders.Add method to lvwColumnRight ( or lvwColumnCenter, lvwColumnCenter) lstServerfiles.ColumnHeaders.Add , , "FileSize", lstServerfiles.Width / 3, lvwColumnRight Mark