on 10-09-2007 3:01 PM
Hi All,
I am trying to add textbox to logistics folder under Shipping Type in Delivery Form. I have done coding using "from pane =2" and "to pane=2" properties and executed . But not getting any where. I have done the same program just changing "from pane" and "to pane" to 1 and executed. . The text box is appeared in Contents folder. But when I changed "from pane" and "to pane" to 2, I am not getting any result. kindly let me know the code to get the result properly.
Regards,
Sravan Kumar Pothu
Hi,
First u have to find the FromPane or ToPane property of item under the Logistics Folder (ex.Shipping Type) by
oItem=oForm.Items.Item("121");
int pane=oItem.FormPane;
Assign this pane to ur control's FromPane and ToPane property.
Hope u will get help...
Regards,
Lalit Narayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sravan,
U try this code but tell the top,left position correctly.
'PO Type
oItem = PO_Frm.Items.Add("potype", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Left = PO_Frm.Items.Item("86").Left
oItem.Width = PO_Frm.Items.Item("86").Width
oItem.Height = PO_Frm.Items.Item("86").Height
oItem.Top = 250 '135
oItem.FromPane = 114
oItem.ToPane = 114
oLbl = oItem.Specific
oLbl.Caption = "PO Type"
'PO_Frm.DataSources.UserDataSources.Add("potype", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
oItem = PO_Frm.Items.Add("c_potype", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oItem.Left = PO_Frm.Items.Item("46").Left
oItem.Width = PO_Frm.Items.Item("46").Width
oItem.Height = PO_Frm.Items.Item("46").Height
oItem.Top = 250 '135 '103
oItem.FromPane = 114
oItem.ToPane = 114
oItem.DisplayDesc = True
oCmb = oItem.Specific
oCmb.TabOrder = 436
oCmb.DataBind.SetBound(True, "OPOR", "U_potype")
PO_Frm.Items.Item("potype").LinkTo = "c_potype"
If it is helpful give me points,
Regards,
Anitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.