How to make the text inside a shape read-only?

D

Digital Thought

I am trying to make the contents of a text shape read-only programatically.
Is there a way to do so?
 
Top