Hi all!
A five optionbutton element is added to the form in Screen Painter.
Source coding the Next.
==========================================================
Dim oRadioButton As SAPbouiCOM.OptionBtn
Dim i As Long
For i = 7 To 11
Set oRadioButton = sForm.Items.Item(i).Specific
If i > 7 Then
oRadioButton.GroupWith (i - 1)
End If
oRadioButton.DataBind.SetBound True, "@ECRH", "U_STATUS"
Next i
==========================================================
Each optionbutton UniqueID : 7, 8, 9, 10, 11
It's problem UniqueID(9) Not selected.
I don't know. What's problem?
Thank you for your help
choi hyun yong
Hi,
I guess the problem is that all R.B's not in the same group. The R.b. 8 is groupped with 7, R.B.9 - with 8 and etc. Make them all groupped with R.B.7. From my experience - I've seen the problems with option buttons when they were the first objects in the form. Define something before the opt. buttons.
Regards,
Mark
Message was edited by: Mark Gulyansky
Add a comment