-
Command Buttons
I wish to make a commond button to act as a switch. When it is pressed it stays in and displays a different caption.
i.e normally displays: - ON, press it once the button stays depressed and displays: OFF, press it again it returns to normal display: ON.
Thanks James
-
Re: Command Buttons
Check out the option button, i believe that if you change it's style, you have what you want.
Crazy D @ Work :-)
-
Re: Command Buttons
This does not seem to work you need two buttons then that interact with each other. I only want one button that has two states.
-
Re: Command Buttons
You definitely can do it! You have to use other button control within VB (try to find it) I forgot
please also try my website
http://homepages.msn.com/LibraryLawn/rayxu/
lots of code, tips, links, and more!
-
Re: Command Buttons
and if everything else fails, drop a picture box on the form, draw 4 lines on it, set the right colours (I believe it's left and top is vb3DHighlight, the others vb3dDarkShadow, and if ther user clicks on the picturebox, switch those colours. Uhmm.. something like that.. I'm sleepie *S* I've use it pretty often that way and it works fine....
Crazy D @ Work :-)
-
Re: Command Buttons
Hi
I gone through ur problem and this is the solution i can suggest.
In Sheredan controls there is a control called SSRibbon which is having the same features which u wanted. Try this and reply to me to this address. [email protected]
Good luck
Phani
-
Re: Command Buttons
Sorry what are Sheredan controls ??
James