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

Form Mode Change Event

Hi,

Is there any way to capture form's mode change? (eg: from OK to UPDATE...)

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 23, 2006 at 07:06 PM

    Angel,

    In the SAP Business One SDK Help Center, did you look at the "AffectsFormMode Property".

    HTH,

    Eddy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      As far as I've tested (I'm developing it by now) you must coordinate some pieces:

      1) First, your form must set AutoManaged="1" attribute

      2) Second, every item which you decide changes your form status must set AffectsFormMode="1" attribute (for example, set to "1" for edittext, but "0" to folders because if you click a folder item it doesn't affect your data)

      3) capture the itemevent and menuevent of this form, and check then form's mode property

      I hope it helps, greetings

      Jose Manuel

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.