I have a radioGroup with the items:
0 : bola
1 : futebol
2 : gol
3 : chuteira
4: jogador
How to select the Index through the value recorded in the bank that is "ball, soccer ...".
I have a radioGroup with the items:
0 : bola
1 : futebol
2 : gol
3 : chuteira
4: jogador
How to select the Index through the value recorded in the bank that is "ball, soccer ...".
Find the Index using IndexOf
:
RadioGroup1.ItemIndex := RadioGroup1.Items.IndexOf('futebol');
Remember that in Radio group only one option will be selected, if you want to select more than one option, use CheckListBox
of Additional
.