Hide Control - InfoPath Dev
in

InfoPath Dev

Hide Control

Last post 12-23-2005 07:18 PM by Matt Faus. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-22-2005 03:03 AM

    Hide Control

    And another one,

    is it possible to hide infopath controls programmatically ?
    If not is it then possible to deaktivate it?

    Listen to Motörhead cos they play Rock'n Roll :)
    Listen to Motörhead cos they play Rock'n Roll :)
  • 12-22-2005 02:08 PM In reply to

    There is a way. Read up on xdExtension, it is discussed several times on this forum.

    You can basically add something like the following as an expression into conditional formatting of a control. The function should always return a True/False

    xdExtension:IsNoActionSelected()
    Jason
    http://www.k2distillery.com/
  • 12-23-2005 07:18 PM In reply to

    Hm, I would stick with conditional formatting. If you wanted to do it with code, you could set the conditional formatting to hide the control when a certain field is a certain value and then set the value with code.

    Maybe xdExtension would be better, but I've never worked with it and I know conditional formatting using a helper node is pretty simple.

    ---------------
    Matt Faus
    InfoPath Dev Texas
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.