VB6 Button Color
-
Someone in the Lounge said that you guyz can be more helpful since there are few guyz at the vb forum
-
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
-
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?
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)
-
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)
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.
-
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.
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)
-
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)
The Heisenberg cannons? Gee, I don't even know where the blessed things are.
-
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)
Does he know the hand shake?
-
The Heisenberg cannons? Gee, I don't even know where the blessed things are.
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)
-
Does he know the hand shake?
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)
-
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
-
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)
Unless they're in a box, in which they'll probably do both.
-
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)
-
Someone in the Lounge said that you guyz can be more helpful since there are few guyz at the vb forum
-
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
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.
-
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
-
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...
-
Someone in the Lounge said that you guyz can be more helpful since there are few guyz at the vb forum
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.