Description
Contains information for defining a new form.
Using this interface to create a new form enables you to specify the form type as string, so you can add your partner namespace to the form type. In addition, you can set a reference to a user-defined object with the ObjectType property. For more information, see User-Defined Objects in the UI API.
Example
| Adding a form (VB .NET) | Copy Code |
|---|
Dim oForm As SAPbouiCOM.Form
Dim creationPackage As SAPbouiCOM.FormCreationParams
creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.UniqueID = "MyFormID"
creationPackage.FormType = "MyFormType"
creationPackage.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
creationPackage.XmlData = FormXml // You can load the form with XML
// Add the form to the SBO application
oForm = SBO_Application.Forms.AddEx(creationPackage)
|
|
See Also