Disabling Close Button - InfoPath Dev
in

InfoPath Dev

Disabling Close Button

Last post 01-15-2006 11:27 PM by Patrick Halstead. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 11-15-2005 03:49 PM

    • qwer
    • Top 500 Contributor
    • Joined on 10-04-2005
    • Posts 49

    Disabling Close Button

    In regards to this article:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdobjInfoPathControlSite_HV01111124.asp

    Has anyone attempted disabling one of the system buttons? I am trying to disable the close button (the X on the active window) but didn't work.

    This is my bit of code:

    objCommandBars.FindControl(x,840).Enabled = false

    where I have tried using x from 1 to 20 and still none of them works.
    Somebody please help?
  • 11-15-2005 05:18 PM In reply to

    Hi,

    InfoPath doesn't support disabling the close button.

    That said, Infopathdev will shortly release a new "How-To" that will help you...

    Stay posted.

    Regards,

    Franck Dauché
  • 11-15-2005 10:15 PM In reply to

    Hi Qwer,
    Franck has figured this out and will post a HowTo on it in the near future. In the meantime, please send him a separate e-mail to request the info.


    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 01-12-2006 02:42 PM In reply to

    • qwer
    • Top 500 Contributor
    • Joined on 10-04-2005
    • Posts 49
    Hi Patrick or franck,

    Has the How-To Tutorial you mentioned above been posted yet? Can't seem to locate it? I have not been able to reach franck via email. franck, can you post the answer here?

    qwer
  • 01-15-2006 11:27 PM In reply to

    Hi Qwer,
    Thanks for the reminder. Franck is no longer posting much, so I've asked Matt to look at this in the next week.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.