You know the little circular options boxes in VB.
Can I make the selected one e.g the circle with the black dot in it appear have a red dot in it instead ?
It sounds simple but its not.
Printable View
You know the little circular options boxes in VB.
Can I make the selected one e.g the circle with the black dot in it appear have a red dot in it instead ?
It sounds simple but its not.
I’m not sure you can do that?
You could either write your own custom control (not hard)
Or, try using some OCX... I’m sure there are all kinds of cool/neat looking controls...
I don't like to use those, as they take up resources unnecessarily :D
this makes a nice checkbox... using the PictureBox control...Code:If Picture1.BackColor = vbRed Then
Picture1.BackColor = vbBlack
Else
Picture1.BackColor = vbRed
End If
that will work if you want multiple option type setup, once again using picture box control...Code:If Picture1.BackColor = vbRed Then
Picture1.BackColor = vbBlack
Else
Picture1.BackColor = vbRed
Picture2.BackColor = vbBlack
End If
It was the little round option box tampa. I just wanted to make the actual active one (The one with the black dot) have a red dot instead.
and i don't think you can do that!
O.K,
So were agreed. Its impossible. I even tried hwnd ing etc
If you have the MSDN Library then search for "option buttons" and click on the topic "enhancing appearance"
If you don't, then play around with the following:
Visually Enhancing the Option Button Control
The look of the option button control may be enhanced by altering the setting of the Style property and then using the Picture, DownPicture and DisabledPicture properties.
Read the rest of the forum before posting at the end.Quote:
O.K,
So were agreed. Its impossible. I even tried hwnd ing etc