📚 SAP Business One SDK Help

EditText Object
See Also  Members  Example

Description

Represents a text box in a form.

Object Model



Remarks

To enable a text box, bind the text box to a data source (UserDataSource or DBDataSource) using the DataBind property.

Example

Connecting an EditText item with a ChooseFromList object (Visual Basic)Copy Code
Dim oItem As SAPbouiCOM.Item
oItem = oForm.Items.Add("MyEdit", SAPbouiCOM.BoFormItemTypes.it_EDIT)

Dim oEdit As SAPbouiCOM.EditText
oEdit = oItem.Specific
oEdit.SetChooseFromList("MyCFL", "AcctCode")

See Also