|
-
Sep 22nd, 2002, 08:31 PM
#1
Thread Starter
Addicted Member
How to set icon to a list view column header?
How to set icon to a list view column header? In VB6 it can be done simple by:
lvLines.ColumnHeaders(1).Icon = 3,
but I found nothing similar for VB.NET list view.
-
Sep 23rd, 2002, 03:26 AM
#2
Fanatic Member
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemwindowsformscolumnheadermemberstopic.htm
ColumnHeader doesn't appear to expose an icon property?
-
Sep 24th, 2002, 02:49 AM
#3
Fanatic Member
Duh I can't read!
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfsystemwindowsformslistviewitemclassctortopic5.htm
Initializes a new instance of the ListViewItem class with specified item text and the image index position of the item's icon.
There ya go!
-
Sep 24th, 2002, 04:35 AM
#4
Thread Starter
Addicted Member
Unfortunately that code will instantaite only ListView item (with an icon), but not a header with an icon.
-
Sep 24th, 2002, 04:41 AM
#5
Fanatic Member
Dang, sorry :/ Wish I knew more about customizing controls.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|