In the designer, I place a button on my form and set the text color to something other than black. The WYSIWYG Designer shows the new text color. When I move the mouse over the button and then move out, the text color changes to black and stays that way. Moving back over the button, the text is the right color but then changes back to black after moving out.
I get the dame problem.
I made some tests with a small program without any problems.
Then I tried to set the default color of the six buttons and it works as expected.
Then I reset exactly the same color the six buttons and the problem is back ?
Then I changed the color from #FF8FBC8F to #FF8FBC8E, just the last byte and it works as expected !?
It seems that the color #FF8FBC8F introduces some trouble, but WHY, this remains a mystery.
Thank you to all people who tried to help. I have changed the color code on all buttons, as detailed in post #21. Everything works as it should.
I don't understand the problem. Over 16 million colors to select and I choose one which causes problems. The mind does somersaults trying to find the cause. If I didn't have grey hair before, I have now!
Its not just #FF8FBC8F, other background colours also do it. For example #FF00FFFF (Cyan). I thought it might be the trailing 'F' but other colours like #FF10FFFF don't show the behaviour so the exact circumstances are not clear
Hi all,
unfortunately I can't investigate it myself due to scarce spare time availability these days.
Anyway, did you check what happens with "problematic" colors if you change the transparecy level (the initial FF)?
I suspect a bad interaction between the bits making up the RGB color and those managing the transparency level.