Results 1 to 2 of 2

Thread: I need help with this code: Text1.Text = "#" & RedCol & GreenCol & BlueCol, ?

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245
    I am currently creating a HTML/RGB color selector. It uses scroll bars to change the RGB Values.

    Here is what I am doing:

    Text1.Text = "#" & RedCol & GreenCol & BlueCol

    I need to code this to constantly update and post the current value in Text1.Text for as long as the program is open. My code needs to drain the least amount of CPU resources as possible. How would you code this?

    I am greatful for any help you might have to offer,
    Daniel Christie

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655
    Place your code in a sub and then call that sub in the change event of each scroll bar.
    www.RealisticGraphics.net

    Running VS.Net Enterprise & VB 6

    Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML

    MSN Messenger: kmsheff

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