Skip to Content

UI: how to close XML form from botton click


I have loaded a xml form with a botton "Close". I know about events but I want that when I press this botton, the xml form is closed or unloaded and showing other xml form.

In visual basic studio, I have methods like load, unload, show, hide but here ?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2004 at 01:00 PM

    if you set the UID of the button to "2" then SBO will handle the closing of the form for you.

    Alternatively, you can write code for the ItemEvent() event for the SAPbouiCOM.BoEventTypes.et_CLICK event type, and close the form through code:

    Set oForm = SBO_Application.Forms.Item("MyForm")


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.