simulating radiobutton using buttons....

C

coli

I have 3 buttons. And basically, which ever get's clicked on should be
highlighted, while the rest should return to normal.

Currently, I'm using

void Button3_Click(object sender, EventArgs e) {
MultiView1.ActiveViewIndex = 1;
Button1.Font.Bold = false;
Button2.Font.Bold = false;
Button3.Font.Bold = true;
}

But there must be a better way than this???
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top