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
  1. Home
  2. Other Discussions
  3. The Back Room
  4. VB6 Button Color

VB6 Button Color

Scheduled Pinned Locked Moved The Back Room
tutorialquestion
23 Posts 13 Posters 0 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 soap brain

    Hmm, for a button colour change algorithm you'll require extensive use of both the Dirac equation and the Riemann-Zeta function; also, what's your background like in signal processing and vector calculus?

    I Offline
    I Offline
    Ian Shlasko
    wrote on last edited by
    #7

    Shhh! Don't tell him about the Secret Algorithms (tm)! He's not ready for such power!

    Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

    S C 2 Replies Last reply
    0
    • I Ian Shlasko

      Shhh! Don't tell him about the Secret Algorithms (tm)! He's not ready for such power!

      Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

      S Offline
      S Offline
      soap brain
      wrote on last edited by
      #8

      Oh, come on, he could easily achieve the same thing by finding non-pathological solutions to Schrödinger's equation or by proving the Hodge conjecture.

      I 1 Reply Last reply
      0
      • S soap brain

        Oh, come on, he could easily achieve the same thing by finding non-pathological solutions to Schrödinger's equation or by proving the Hodge conjecture.

        I Offline
        I Offline
        Ian Shlasko
        wrote on last edited by
        #9

        Fool! Every true geek knows that only ONE of the solutions to Schrodinger's equation is correct. If he manages to prove the other one, he might unmake existence! We must act now to stop this menace, before it's too late! Charge the Heisenberg cannons, and let's hope they work!

        Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

        S 1 Reply Last reply
        0
        • I Ian Shlasko

          Fool! Every true geek knows that only ONE of the solutions to Schrodinger's equation is correct. If he manages to prove the other one, he might unmake existence! We must act now to stop this menace, before it's too late! Charge the Heisenberg cannons, and let's hope they work!

          Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

          S Offline
          S Offline
          soap brain
          wrote on last edited by
          #10

          The Heisenberg cannons? Gee, I don't even know where the blessed things are.

          I 1 Reply Last reply
          0
          • I Ian Shlasko

            Shhh! Don't tell him about the Secret Algorithms (tm)! He's not ready for such power!

            Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

            C Offline
            C Offline
            Corporal Agarn
            wrote on last edited by
            #11

            Does he know the hand shake?

            I 1 Reply Last reply
            0
            • S soap brain

              The Heisenberg cannons? Gee, I don't even know where the blessed things are.

              I Offline
              I Offline
              Ian Shlasko
              wrote on last edited by
              #12

              Stop trying to locate them! If you find them, they won't fire!

              Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

              S R 2 Replies Last reply
              0
              • C Corporal Agarn

                Does he know the hand shake?

                I Offline
                I Offline
                Ian Shlasko
                wrote on last edited by
                #13

                I doubt it. It's encrypted :)

                Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

                1 Reply Last reply
                0
                • L Lost User

                  Crayons.

                  L u n a t i c F r i n g e

                  J Offline
                  J Offline
                  josda1000
                  wrote on last edited by
                  #14

                  I don't know, I've always been a great fan of colored pencils.

                  L 1 Reply Last reply
                  0
                  • D Distind

                    Someone in the lounge has an interesting definition of helpful.

                    D Offline
                    D Offline
                    Dalek Dave
                    wrote on last edited by
                    #15

                    They are setting him up deliberately, don't be harsh on him (Yet).

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

                    1 Reply Last reply
                    0
                    • I Ian Shlasko

                      Stop trying to locate them! If you find them, they won't fire!

                      Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

                      S Offline
                      S Offline
                      soap brain
                      wrote on last edited by
                      #16

                      Unless they're in a box, in which they'll probably do both.

                      1 Reply Last reply
                      0
                      • I Ian Shlasko

                        Stop trying to locate them! If you find them, they won't fire!

                        Proud to have finally moved to the A-Ark. Which one are you in? Author of Guardians of Xen (Sci-Fi/Fantasy novel)

                        R Offline
                        R Offline
                        Rod Kemp
                        wrote on last edited by
                        #17

                        Just fit them with Heisenberg compensators and they work fine.

                        1 Reply Last reply
                        0
                        • J Jaison V

                          Someone in the Lounge said that you guyz can be more helpful since there are few guyz at the vb forum

                          0 Offline
                          0 Offline
                          0x3c0
                          wrote on last edited by
                          #18

                          I said that given the common response to a VB question, you would probably get a similar attitude in the Back Room. It was a joke; I'm sorry if it misled you.

                          OSDev :)

                          1 Reply Last reply
                          0
                          • J Jaison V

                            I have 5 buttons. clicking them once changes that button's color to, say orange. And when another button is clicked that will become orange and the previous will reset to original color So i want to toggle their color's depending on which one is clicked. I want code to be efficient. No repeating codes. Any ideas? Just tell me some ideas how to go about implementing it. my idea: send all button click events to a change color function. but we need to know which button has been clicked Any other ideas welcom

                            R Offline
                            R Offline
                            Ray Cassick
                            wrote on last edited by
                            #19

                            Put them in a control array, then add all the buttons to one event handler. In that event handler determine what button was clicked, set its back-color property to what you want and all the others should be set to their normal color. That should get you far enough.


                            LinkedIn[^] | Blog[^] | Twitter[^]

                            1 Reply Last reply
                            0
                            • J josda1000

                              I don't know, I've always been a great fan of colored pencils.

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #20

                              Yeah, but we're talking VB here. Think thick-fingered 4-year-olds. ;)

                              L u n a t i c F r i n g e

                              J 1 Reply Last reply
                              0
                              • L Lost User

                                Yeah, but we're talking VB here. Think thick-fingered 4-year-olds. ;)

                                L u n a t i c F r i n g e

                                J Offline
                                J Offline
                                josda1000
                                wrote on last edited by
                                #21

                                ahhh... then PAINT! lol nah... that would be confused with MS Paint, and we all know how much suffering goes on when using something as dumb as that... so maybe crayons, but the big kind of crayons...

                                L 1 Reply Last reply
                                0
                                • J josda1000

                                  ahhh... then PAINT! lol nah... that would be confused with MS Paint, and we all know how much suffering goes on when using something as dumb as that... so maybe crayons, but the big kind of crayons...

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #22

                                  Wait, that's it.... finger paints! :laugh:

                                  L u n a t i c F r i n g e

                                  1 Reply Last reply
                                  0
                                  • J Jaison V

                                    Someone in the Lounge said that you guyz can be more helpful since there are few guyz at the vb forum

                                    C Offline
                                    C Offline
                                    Christian Graus
                                    wrote on last edited by
                                    #23

                                    They are playing a joke on you . As if your using a language that has been obsolete for 10 years, is totally unsupported, and was created in the first place for non programmers, and never got to be a real language, is not problen enough.

                                    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                    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