How do you access TCXRadioGroupItem's Checked information
I have a UserForms that have a TCXRadioGroup
and in that i have radio buttons with one defaulted with Checked=True
how do i access all the radio button in that TCXRadioGroup and find out which one is currently checked.
i also try adding name to the individual Radio button inside teh group and tried: UserForms.FormName.rdoButtonName.Checked
and of course that doesnt work
TC does not even recognize the UserForm.FormName.RdoButtonName
I also tried:
UserForm.FormName.GroupName.Properties.ChildControlByName("rdoButtonName")
and that did not work
i tried by ID and still cannot get teh radiogroupitem to find out if its checked or not.
Thanks.
Hoang
Nevermind it seems to worknow.
dim frm
set frm=UserForms.Form1
if frm.ShowModal <> mrok then ThisFunction=false
if frm.rdoGroup.ChildControl(idx).Checked = True then
...
...
end if
seems i can access it from UserForms.TcxRadioGroup.ChildControl(idx).Checked