|
Using Radio Buttons in Visual Basic
|
|
07-28-2010, 01:18 AM
(This post was last modified: 07-28-2010 01:18 AM by drdebcol.)
Post: #1
|
|||
|
|||
|
Using Radio Buttons in Visual Basic
The radio button is also a very useful control in Visual Basic 2008. However, it operates differently from the check boxes. While the checkboxes work independently and allows the user to select one or more items , radio buttons are mutually exclusive, which means the user can only choose one item only out of a number of choices. Here is an example which allows the users to select one color only.
First, this picture : ![]() Code: Dim strColor As StringSecond, this picture : ![]() Code: Dim strColor As StringThere's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
07-28-2010, 01:20 AM
Post: #2
|
|||
|
|||
|
RE: Using Radio Buttons in Visual Basic
Very simple component, yet very useful! Thanks for the info Drdebcol!
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
07-28-2010, 01:23 AM
Post: #3
|
|||
|
|||
RE: Using Radio Buttons in Visual Basic
(07-28-2010 01:20 AM)Back_track Wrote: Very simple component, yet very useful! Thanks for the info Drdebcol!Well it is easy, and very useful in GUI & Object Orientated programming !!! There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|



![[Image: vb_radiobutton.gif]](http://www.pro9ramming.com/pictures/vb_radiobutton.gif)
![[Image: vb_radiobutton2.gif]](http://www.pro9ramming.com/pictures/vb_radiobutton2.gif)


