Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi again guys! I don't really know how to do this but think about skype

if you have alternatives like "Online, Busy, Not at computer, Offline" etc..

You can only have one at time, I wonder how i can check only one thing in a menu?

like this:

View

Bandos
Armadyl
Nex

i want one to be checked at time so if i first press bandos it will be checked and something hapens. if i then press armadyl Bandos will get unchecked and armadyl will be checked.
Posted
Comments
Sergey Alexandrovich Kryukov 27-Apr-13 21:13pm    
Not clear. Could you explain more?
—SA

I started playing about with this, got something working and then found this link http://msdn.microsoft.com/en-GB/library/ms404318(v=vs.85).aspx[^] - much easier to post this link than to try and post my code!
 
Share this answer
 
Comments
Manfred Rudolf Bihy 29-Apr-13 1:49am    
Nice find!
CHill60 29-Apr-13 4:31am    
Cool isn't it! Just wish I'd found it earler! It was quite gratifying to find I was going the right way about it though, and for once the Microsoft documentation actually makes sense :-)
Use RadioButtons. In the CheckedChanged event, find out which button is checked now, and start some action accordingly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900