Skip to Content
0
May 06, 2013 at 03:52 PM

Show field value into a new folder.

26 Views

Hi

I've created the new folder into a document

here I have to show (only for reading) the value of the field Free_Text founded into OCRD

I've tried to create an EditText but the property "ScrollBars" doesn't run correctly

where is the error?

this is my code

oItem = form.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT);

string sVal = oItem.UniqueID;

oItem.Left = oExistItem.Left;

oItem.Width = 163;

oItem.Top = oExistItem.Top;

oItem.Height = 25;

oItem.FromPane = 99;

oItem.ToPane = 99;

oItem.Enabled=false;

SAPbouiCOM.EditText oEditText = null;

oEditText = ((SAPbouiCOM.EditText)(oItem.Specific));

oEditText.String = "test dskj sdaf jsfahkhasdf dfa adfs sfad";

oEditText.ScrollBars = SAPbouiCOM.BoScrollBars.sb_Vertical;