Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: Add CheckBox

$
0
0

Hi Vivek,

 

Add a UDF in WTM3 Table. Then try this on Form_Load Event:

 

SAPbouiCOM.CheckBox oChk;

                                            SAPbouiCOM.Item Exist = (Item)Form.Items.Item("140000043");

                                            SAPbouiCOM.Item New = (Item)FormItemMaster.Items.Add("CHKBOX", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX);

 

                                            New.Top = Exist.Top+ 15;

                                            New.Width = Exist.Width;

                                            New.Height = Exist.Height;

                                            New.Left = Exist.Left;

                                            New.FromPane = 2;

                                            New.ToPane = 2;                                          

                                            New.Enabled = true;

                                            New.Visible = true;

                                            oChk= (SAPbouiCOM.CheckBox )New.Specific;

                                            oChk.DataBind.SetBound(true, "WTM3", "U_UDF");

 

 

Hope it helps...

 

 

Thanks


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>