General information
Category:
Forms & Form designer
>>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.
FYI - Works the same whether column.readonly=.t. or .f.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only