Results 1 to 4 of 4

Thread: Set font, color for ListviewItem? [resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Set font, color for ListviewItem? [resolved]

    PHP Code:
    Dim lViewItem As New ListViewItem()

    lViewItem.SubItems.Add(chr(252), System.Drawing.Color.RedSystem.Drawing.Color.Green, New System.Drawing.Font("Wingdings"10))

    Me.myListView.Items.Add(lViewItem
    Why doesn't this work?

    I get the chr(252) character of the default font (MS Sans) and the background and foreground are the default (white/black) colors?

    The background/foreground isn't important and I will change them back to white/black, but even that isn't working.

    thanks,
    Last edited by Shurijo; Aug 29th, 2003 at 10:13 AM.
    -Shurijo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width