1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Solved Hide Value AND Background of tables not possible?

Discussion in 'Scripting Workshop' started by soyfabi, Nov 30, 2021.

  1. soyfabi

    soyfabi NI Product Owner

    Messages:
    26
    Hey guys,

    when I'm using the lines
    Code:
    set_control_par(get_ui_id(%table), $CONTROL_PAR_HIDE, $HIDE_PART_VALUE)
    
    set_control_par(get_ui_id(%table), $CONTROL_PAR_HIDE, $HIDE_PART_BG)
    only the last line will be executed (or the last line overwrites the one before) like in the above example the background would be hide but not the value.

    It isn't possible to hide both?
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    IT's possible, use .or. binary operation in one line between the various $HIDE_PARTs. It's explained in KSP reference.
     
  3. soyfabi

    soyfabi NI Product Owner

    Messages:
    26
    Thank you ED! Makes sense x)