How to make the background of a textbox match the background of the rectangle below it?

I want to put a textbox on top of my rectangle and I want it to have the same background color so it doesn’t stand out. And I haven’t got it to work yet, and I don’t know why.

I tried giving the rectangle and the textbox the same background color (RGB(33,33,33)). And this is what I see.

I tried changing the transparency of textbox to True thinking it might override the background color but it looks the same. The other properties for my textbox are

Allow Auto Deactivate - False
Has borders - False
Allow Focus Ring - False
Visible - True

I’m probably going to turn it into a label, but it still bothers me that I didn’t get this to work … that I don’t understand some element in the UI.

On the mac it’s likely wallpaper tinting, which will affect your window backgrounds. In System Settings, Appearance there is an option to “Tint window background with wallpaper colour”, if you turn that off it would likely match your expectations. However, you can’t control what a user has enabled so you’re on to a losing proposition trying to. With tinting you’ll never get it correct and the wallpaper can change and make it wrong again.

I do wonder why you’re trying to make a control that you can’t see. It seems to be counter productive. If editing doesn’t matter then a label would be a better choice and may solve the problem. If editing is required I come back to why you want to hide the control from the user.

Thanks, Ian.

I began with textboxes thinking that some of these would be editable. And that’s changed, so I’ve turned them into labels. But it bothered me that I couldn’t figure out how to make the textbox background really transparent.

When I run into issues like this I create my controls in HTML, which gives you full control via javascript and CSS, then display the page in an HTMLViewer.