Hi all.
I have a radio group with a bunch of possible selections.
User has to select one of the options in order to go on. Is there any faster way than a for loop iterating through the single buttons to verify one has been checked?
Thanks
Hi all.
I have a radio group with a bunch of possible selections.
User has to select one of the options in order to go on. Is there any faster way than a for loop iterating through the single buttons to verify one has been checked?
Thanks
Jump to PostRadioGroup has an ItemIndex you can check.
RadioGroup has an ItemIndex you can check.
Ye you can use code like this:
If RadioGroup1.ItemIndex = 0 Then
Begin
//Do something
End;
Ofcourse the first item in your radio group would have a ItemIndex of 0 and the next one would be 1 and so on.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.