Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CHANGING COLORS ON DISABLED CONTROLS 3

Status
Not open for further replies.

raf

Programmer
Apr 10, 2000
14
US
Whenever I disable a control on a form, it shows up gray on gray.<br><br>Changing the background/foreground information&nbsp;&nbsp;only seems to affect the control when is is enabled.<br><br>Is there a way to modify the colors used when a control is disabled?<br><br>Thanks<br><br>-- raf<br>
 
You can alternitavely set the Locked property toYes and set Tab stop to No.&nbsp;&nbsp;The main difference is that the cursor will enter the field, but it can't be updated and won't be in the tab order, which is typically what one wants with setting .enabled to false.<br>--Jim
 
If I set the control to Locked, I can tab to the field but not change it. If I also set the tab stop to no, the cursor does not go to the control unless I click on it. And it does allow me to change the color in desing mode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top