How ShowModalDialog() works ? - InfoPath Dev
in

InfoPath Dev

How ShowModalDialog() works ?

Last post 06-05-2007 09:34 AM by davidair. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-05-2007 04:10 AM

    • Methos
    • Not Ranked
    • Joined on 06-05-2007
    • Posts 3

    How ShowModalDialog() works ?

    hi,

     I want some help with the method ShowModalDialog()

    I want to use it just to have a confirmation message like "Are you sure ? Yes / No" and treat the answer.

    I didn't find another method to do it, because with infopath (C#) we don't  have msgbox.

    So with this method i want to know what to put in the .html file in order to get back the return value.

     

    Thanks you.
     

  • 06-05-2007 09:34 AM In reply to

    Re: How ShowModalDialog() works ?

    So it looks like Coita Thierry has already answered on the French forum (http://www.infopathdev.com/forums/thread/20404.aspx):

    Coita Thierry:

    if (thisXDocument.UI.Confirm("to be modified?", XdConfirmButtons.xdYesNo) == XdConfirmChoice.xdYes)

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.