Skip to Content
0
Former Member
May 22, 2010 at 05:43 PM

Caption in EditText

39 Views

Hi! I have this code here and want to put a caption but, unlike checkbox, the edit text does not has that property... Is there any way to do it?

oNewItem = form.Items.Add("Rental", SAPbouiCOM.BoFormItemTypes.it_EDIT);
            oNewItem.Left = oItem.Left;
            oNewItem.Width = oNewItem.Width;
            oNewItem.Top = oItem.Top * 19;
            oNewItem.Height = oItem.Height;
            
            oNewItem.FromPane = 5;
            oNewItem.ToPane = 5;
            oTextEdit = ((SAPbouiCOM.EditText)(oNewItem.Specific));

            oTextEdit.DataBind.SetBound(true, "ODLN", "U_nrOfDays");

Thanks in advance 😊