# Dim txt easy method needed

**URL:** <https://forum.kirupa.com/t/dim-txt-easy-method-needed/322827>\
**Category:** Uncategorized\
**Created:** [June 4, 2011, 6:55pm UTC](https://forum.kirupa.com/t/dim-txt-easy-method-needed/322827 "2011-06-04T18:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColinDavies](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Post date:** [June 4, 2011, 6:55pm UTC](https://forum.kirupa.com/t/dim-txt-easy-method-needed/322827/1 "2011-06-04T18:55:19Z")

</div>

I have a user interface with typical controls, stepper checkbox, etc.  
On occasion I want the controls disabled, eg ctrl.enabled = false;  
However I want certain accompanying black text to be dimmed out at the same time.  
Is there an easy method that I’m overlooking or must I for example create my own base class and use color.transform, or similar.  
TIA
