Craig,
Try this.
-SDI form
-Grid
-Shape touching grid partially with backcolor say green
-Few textboxes
With or without setall() textbox backcolor is shape's backcolor.
Cetin
>Leave all the color settings at default. You should be doing:
>
>.SetAll("Enabled", .T., "Textbox")
>
>when you are ready to edit. This will use the colors the user has selected.
>
>
>>hello everyone,
>>
>>My form contains some textbox, I want to set them enabled only when a button is clicked. This is very easy of course, but dunno why the backcolor of some textbox just not normal. I used .setall("backcolor", rgb(255,255,255), "textbox") and something like that to set all enabled/disabled color.
>>
>>But when I use the form, some boxes have a gray back color even when it's enabled. And that's not the "real" backcolor, there's some "space" between the color and the edge of the textbox.
>>
>>Refresh CAN makes it normal again, but the problem exist again if I "touch" the textbox again, and I can't refresh all the time anyway.
>>
>>I'm pretty sure(hopefully) I have set all the color in proper way, as my other programs never had this problem before. Have you ever meet this situation? Any help please?
>>
>>Jimi