Is there a way to make a text entry become grayed out when its disabled

Thanks