Hi,
I have 6 radio buttons (2x3), and all buttons are off when I load the form.
I like to set 1 button on when I load the form.
I used following code and 2 radio buttons goes on?
( ( SAPbouiCOM.OptionBtn ) ( oForm.Items.Item("optDay4").Specific ) ).Selected = true;
// Per Day
oItem = oForm.Items.Add("optDay4", SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON);
oItem.Left = 850;
oItem.Top = 160;
oItem.FromPane = 4;
oItem.ToPane = 4;
oOptionBtn = ( ( SAPbouiCOM.OptionBtn ) ( oItem.Specific ) );
oOptionBtn.Caption = "Per Day";
oOptionBtn.DataBind.SetBound(true, "", "OpBtnDS4");
I like to set the button on here.
1) Why are my two (2) radio button column connected with each other (they are not grouped with each other "oOptionBtn.GroupWith("optNo4");" and oOptionBtn.GroupWith("optDay4");
2) How do I set the radio button on when I build the radio button to the form?
Thank you,
Rune
Message was edited by:
Rune Brattas
Message was edited by:
Rune Brattas