>Please see attached image.
>
>When the user tabs into the column, ALL of the textboxes in the enitre column get a dark grey background. I have tried everyting to make the background appear white.
>
>It is a plain textbox in a grid colum with the following settings:
>column.spare=.f.
>column.readonly=.t.
>textbox.InputMask="999,999.99" (To show commas as a thousands separator)
>
>
>I've tried both settings on the textbox for BackStyle (Transparent and Opaque), I've tried forcing the BackColor to 255,255,255. I've tried disabled baclcolor=255,255,255
>
>What am I missing?
>
>If I set Sparse to .T. the color works correctly, but I lose the commas.
Generally you'll want .Sparse = .T., so really we need to figure out some way for your mask to stay in effect.
Various DisabledProperties only apply when the control.Enabled = .F., not when .ReadOnly = .T. - they are different things.
Are you using a framework? The old VFE5 framework by default sets backcolors when .ReadOnly = .T. which can be a real PITA sometimes.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up