Skip to Content
author's profile photo Former Member
Former Member

Regarding use of radio button

Dear All,

I want use the radio button on a form. Can plz tell me whether radio button act on a group or not.

And How i use it through code please tell me.

Good day.

Bodhisatya Bhattacharjee

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 18, 2007 at 09:05 AM

    > I want use the radio button on a form. Can plz tell <br/>

    > me whether radio button act on a group or not.<br/>

    > <br/>

    > And How i use it through code please tell me.<br/>

    <br/>

    Documentation says the <tt>OptionBtn</tt> Object has a <tt>GroupWith</tt> property which seems as it'd achieve what you look for.

    <br/><br/>

    Regards,<br/>

    etc.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      GroupWith is the property, see SDK 2007 Complex Form and here is the code:

      // CardCode

      oItem = oForm.Items.Add("optCode4", SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON);

      oItem.Left = 750;

      oItem.Top = 180;

      oItem.FromPane = 4; // Tab

      oItem.ToPane = 4; //Tab

      oOptionBtn = ( ( SAPbouiCOM.OptionBtn ) ( oItem.Specific ) );

      oOptionBtn.Caption = "Card Code";

      oOptionBtn.GroupWith("optNo4");

      oOptionBtn.DataBind.SetBound(true, "", "OpBtnDS4");

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.