Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why do textboxes in grid columns do weird back color thi
Message
From
28/05/2009 16:27:12
 
 
To
28/05/2009 15:57:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01402534
Message ID:
01402545
Views:
69
>>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
Map
View

Click here to load this message in the networking platform