CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    4

    Help with fillcolor in shape

    hello !
    I'm in the process of making a sensor that reads the level of the septic tank using ultra sounds. I'm running on with vb6 because it's the only language that I'm reasonably knowledgeable in. However, I need some help here. I want a picture or a shape that depicts the septic tank (a rectangle for example) I then want a variable 0-100% to fill in the fillcolor in the rectangle so that you can see graphically how much the tank is filled. I just manage to fill the whole form and can't get it graphically displayed. maybe you have some other idea how to fix this.really want to have displayed graphically and not just a text box with 0-100%
    Leif Nejman

  2. #2
    Join Date
    Nov 2018
    Posts
    120

    Re: Help with fillcolor in shape

    Isn't that just two rectangles?

    A larger one representing the tank.
    A smaller one, with the same width, but who's height is scaled by the percentage of the height of the large one.

  3. #3
    Join Date
    Mar 2004
    Posts
    4

    Cool Re: Help with fillcolor in shape

    that can work, i will try

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

Featured