To enable or disable a Text part, make a connection to its enabled attribute. For example, create an attribute-to-script connection from the enabled attribute to a method that answers true or false.