Denis,
I did find it kind of odd that VS.NET didn't have anything like VFP's optiongroup built in, but I am sure if you do some searching at
www.codeproject.com or
www.gotdotnet.com you might find a user control that behaves just like VFP's optiongroup. (or it might be an interesting project to learn more about .NET for you :)
In some ways .NET is a little harder than VFP, but I think most things are easier in .NET. Don't give up on .NET it is a great framework. Good luck.
Einar
>Thanks, Einar.
>I am new in .net programming.. and I thought there exist an easy way which I did't know. Seems no easy ways? ;)
>
>
>>Denis,
>>You answered your own question :)
>>Yes you do have to loop through the radiobuttons to find the one that is selected. You could also make your own usercontrol that behaves like VFP's option group.
>>Hope this helps,
>>Einar
>>>Hi,
>>>Sorry for easy question.
>>>How to work with RadioButton control in net?
>>>I place controls into 'GroupBox' and I'd like to check which control is checked.
>>>Is there something like OptionGroup.value as VFP has? or I need to check each control in the container and check 'Checked' property untill first True occurence ?
>>>
>>>Thanks
>>>Den.
Semper ubi sub ubi.