[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

override grouping of radiobuttons

Posted on 2004-11-21
2
Medium Priority
?
249 Views
Last Modified: 2010-04-15
I want to make a custom control that extends radiobutton and allows me to specify the grouping, so does anyone know how radiobutton groupings work at a low level? This is in windows forms btw

Also points at this question:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21214885.html
0
Comment
Question by:eekj
2 Comments
 
LVL 1

Accepted Solution

by:
andyalmq earned 2000 total points
ID: 12645812
From what I can determine, your best bet to create your own grouping with radio buttons would be to extend checkboxes or button base.  Basically what you'd want to do is reference back to parent, and check for other instances of your control within the same group and uncheck them when a particular instance is checked.

There may be a method of the radio button control that you could override to provide this same functionality, but i don't see anything obvious.

Good luck...
0
 
LVL 3

Author Comment

by:eekj
ID: 12652540
Thanks mate, problem solved using AutoCheck = False
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question