Skip to Content
author's profile photo Former Member
Former Member

as I can block a form ?

if I have a form1 and clicking a button a new form2 opens , as I do so that it can not perform actions on the form1

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 20, 2016 at 09:22 PM

    Hi Marlon,

    If you are using SBO 9.2 then they have built in a new method to call a modal or child form (there's now a property called Modalitiy in the FormsCreationParams object which is used when you call the AddEx method of the Forms object of the LoadBatchActions of the Application object).

    If you are using a version earlier than 9.2 then there is no modal form property so you have to write code that traps any events that are happening on your parent form and blocks any changes if the child form is open. There are some examples of how to do this if you search this forum.

    Kind Regards,

    Owen

    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.