Results 1 to 2 of 2

Thread: color bar help .. please

  1. #1

    Thread Starter
    Lively Member heartisablack's Avatar
    Join Date
    Nov 2003
    Location
    new jersey
    Posts
    96

    color bar help .. please

    okay, so i made a program with which you can move the scroll bar and the color in the image changes to that of the value of the code, however i also added something that will display the hex color .. but when the value or one or more of the scroll bars is under 10, the label does not display the "0" that should be before that part of the hex, for exampe, if i have the scrool of red at 34, blue 2, and green 38, then "22226" is displayed, when it should be "220226" .. i tried to fix this, but it still seems to have problems when more then one of the scroll bars have less then 10
    then it only does the fix for the one that was adjusted last.. if you can help me i'd appreciate it.. thanks.

    the program is here to download...
    Attached Files Attached Files
    you'll feel better when you cannot feel at all ...

  2. #2
    Lively Member
    Join Date
    Jan 2003
    Posts
    79
    You are on the right track, the problem is when you apply the 'fix' to the individual colour it resets the other 'fixed' colours.
    I have added a new sub to the form and modified the relevant procedures (I hope this is OK, I find it easier to show the solution than to explain it).

    Any problems please let me know.

    All the best,

    Dave.
    Attached Files Attached Files

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