Hi Wraygun,
Text1.Enabled = False
Text1.BackColor = vbBlack
Text1.ForeColor = vbYellow
This will do what you want but when a control is set to Enabled = False it dulls the color and the yellow goes pale. To have a better yellow you will need to find a color that turns yellow when faded.
I attempted the above code, but to no avail. No matter what color I seem to set the foreground to for the textbox, it's always the same gray color when it's disabled.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.