Hi Experts,
I'm need to format the value of a editText in Business One to pad to right, because the information is displayed pad to left.
What I need:
What I have:
Here is the code I use to create the editText:
Form oform = Application.SBO_Application.Forms.GetForm("133", pVal.FormTypeCount); oform.Freeze(true); //Importe var ntem = oform.Items.Add("tImporteA", BoFormItemTypes.it_EDIT); var tem = GetItem("31"); ntem.Top = tem.Top; ntem.Left = tem.Left; ntem.Height = tem.Height; ntem.Width = tem.Width; ntem.Enabled = false; var editImporte = (EditText)ntem.Specific; editImporte.String = "0.00"; //Saldo Pendiente ntem = oform.Items.Add("tSaldoPen", BoFormItemTypes.it_EDIT); tem = oform.Items.Item("33"); ntem.Top = tem.Top; ntem.Left = tem.Left; ntem.Height = tem.Height; ntem.Width = tem.Width; ntem.Enabled = false; editImporte = (EditText)ntem.Specific; editImporte.String = "0.00"; oform.Freeze(false);
I'd be very glad if you can help me with this.
Best Regards.