Skip to Content
author's profile photo
Former Member

Preventing a user form from Closing

Hi,

I want to prevent et_form_close from closing

my form ( under certain conditions ).

When i trap et_form_close, the before_action is already

false.

How can i get to the event before SBO processes it ?

Thanks.

Ravi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 05, 2004 at 08:51 AM

    Hi,

    I've open a <u>BUG</u> on this issue.

    (the BUG relates to incorrect BeforeAction boolean.

    In the meantime you can use the following code:

    <i>..If (pVal.EventType = et_FORM_CLOSE And FormUID = "<YOUR FORM>") Then

    .....BubbleEvent = False

    ..End If</i>

    Regards

    Yaniv G

    SDK Consultant,

    SAP Manage Israel.

    Add comment
    10|10000 characters needed characters exceeded

    • H Ravi,

      You are thanking a poster for his answer.

      Please next time also give him points.

      See: /people/mark.finnern/blog/2004/08/10/spread-the-love

      This time I did it for you.

      Remember: When you ask a question you also assume the responsibility to assign points.

      Please check your other questions and if the answers were good.

      Spread the love and give some points.

      Thanks in advance, Mark.