Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

oForm

Como puedo crear 2 formularios ... ya que intente crear un segundo formulario pero me dice que ya existe
--

As I can create 2 forms ... and trying to create a second form but it tells me that already exists

Dim oCreationParams As SAPbouiCOM.FormCreationParams

        oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)

        oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed

        oCreationParams.UniqueID = "Form1"

        oForm = SBO_Application.Forms.AddEx(oCreationParams)

       

Dim oCreationParams As SAPbouiCOM.FormCreationParams

        oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)

        oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed

        oCreationParams.UniqueID = "Form2"

        oForm = SBO_Application.Forms.AddEx(oCreationParams)

Former Member
Not what you were looking for? View more on this topic or Ask a question