Forum Discussion

cesarcarlos's avatar
cesarcarlos
Binge Watcher
3 years ago
Solved

Remove a label completely from screen if no data is available

I have a screen with a number of labels, but depending on whether a specific piece of data is available or not in the content, I want that label to be displayed or not. So far I have this: if cont...
  • C-DP's avatar
    C-DP
    3 years ago

    I tend to have a function something like this

     

    function removeNode(node)

      node.getParent().removeChild(node)

    end function