twice call of onAfterChange() - InfoPath Dev
in

InfoPath Dev

twice call of onAfterChange()

Last post 07-05-2006 02:32 AM by FTC. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-05-2006 01:52 AM

    • FTC
    • Not Ranked
    • Joined on 07-05-2006
    • Posts 2

    twice call of onAfterChange()

    Hi,

    I have a Textbox with an onAfterChange()-Event.
    If I enter text in the Box and klick than out of the Box, the Event will be call.

    If I enter text in a second time, the event occurs twice.

    Why ? How can I disable it ?


    function msoxd_my_feld1::OnAfterChange(eventObj)
    {
    if (eventObj.IsUndoRedo)
    return;

    XDocument.UI.Alert("onafter");
    }
  • 07-05-2006 02:09 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: twice call of onAfterChange()

    Hi FTC,

    Welcome to the Forums,

    This issue has answers in the link below
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=898
  • 07-05-2006 02:32 AM In reply to

    • FTC
    • Not Ranked
    • Joined on 07-05-2006
    • Posts 2

    Re: twice call of onAfterChange()

    Thanks a lot. It solved my Problem ;)
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.