Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab off textbox and it turns grey?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00194477
Message ID:
00195196
Views:
25
>>Not a problem in 5.0, only a problem in VFP 6.0. Have a toplevel form with a pageframe. Each page can have many different containers. There is one container who has several textboxes whose background turns grey after you tab from the field. Actually I think that I have seen the background turn grey when it has focus, but I can not reproduce that today. Not all the textboxes on this container turn grey, only some. Of course I have looked at the properties and see no differences.
>>
>>Has anyone seen this before, or know what it is?

>Yes, I've had same thing when I converted an app to 6. I'm rebuilding the entire app from scratch, as there are other problems, but I think I the only fix I found for the one you mention is to replace each afflicted textbox. Just delete the old one, and add a new one from your class or vfp base, and restore whatever PEMs you need to...

>Or safer, add the new one first, then modify PEMs, then delete the old one :)

FYI - I deleted and readded the boxes, still the same problem. Seems my greying of textboxes was becuase they were ontop of a shape. I used a rectangle to group fields. Tried copying the textboxes to a container (just want the border of the container), but the grey came back. Even after I deleted the container the grey stayed. Had to readd the textboxes then use lines to group the fields. This solved my problem.

Brenda
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform