Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. colorize partial cell in rowset of listview

colorize partial cell in rowset of listview

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
8 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sal21
    wrote on last edited by
    #1

    How to colorize partial background of item in rowset of listview? example: have my_var=75 colorize 3/4 of item, have my_var=50 colorize 1/2 of itema, have my_var=72 colorize ecc... Similar a progressbar but stop for filling item based value in my_var...

    H N 2 Replies Last reply
    0
    • S sal21

      How to colorize partial background of item in rowset of listview? example: have my_var=75 colorize 3/4 of item, have my_var=50 colorize 1/2 of itema, have my_var=72 colorize ecc... Similar a progressbar but stop for filling item based value in my_var...

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Investigate the OnDrawItem and OnDrawSubItem methods.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      S 1 Reply Last reply
      0
      • H Henry Minute

        Investigate the OnDrawItem and OnDrawSubItem methods.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

        S Offline
        S Offline
        sal21
        wrote on last edited by
        #3

        hi... but i need for vb6 classic.... no net

        H D 3 Replies Last reply
        0
        • S sal21

          hi... but i need for vb6 classic.... no net

          H Offline
          H Offline
          Henry Minute
          wrote on last edited by
          #4

          In that case try here[^]. :-D

          Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

          L 1 Reply Last reply
          0
          • H Henry Minute

            In that case try here[^]. :-D

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            5 isn't enough, but don't despair, others will add to it. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


            1 Reply Last reply
            0
            • S sal21

              hi... but i need for vb6 classic.... no net

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              I can't find any VB6 examples for what you want to do.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008

              1 Reply Last reply
              0
              • S sal21

                hi... but i need for vb6 classic.... no net

                H Offline
                H Offline
                Henry Minute
                wrote on last edited by
                #7

                Just in case you haven't yet found a solution, try Googling for subclassing listview vb6. I did that and there were several hits that sound as though they might do what you are looking for. I would have given a link to the most promising, but you probably wouldn't trust it. :-D

                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                1 Reply Last reply
                0
                • S sal21

                  How to colorize partial background of item in rowset of listview? example: have my_var=75 colorize 3/4 of item, have my_var=50 colorize 1/2 of itema, have my_var=72 colorize ecc... Similar a progressbar but stop for filling item based value in my_var...

                  N Offline
                  N Offline
                  nlarson11
                  wrote on last edited by
                  #8

                  i'm not a member of vbcity so i can't verify but this link says it does what you want http://vbcity.com/forums/topic.asp?tid=98359

                  'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups