General information
Category:
Forms & Form designer
Title:
Backcolor doesn't work in form classes?
I've been discussing my problems with backcolor on someone else's thread. But now that I've simplified the problem as much as I can, I decided to start a new thread because this is just bizarre.
This is VFP 7, btw.
I took a plain VFP baseclass form. Did nothing to it at all. Saved it as a class. Then I sublclassed it as "gridtest".
I took a plain VFP baseclass grid. Put it on "gridtest". The _only_ thing I did was give it one column and change the backcolor of that column to grey. I didn't set a record source or anything.
If I instantiate this form, the backcolor doesn't show up! But, if I copy that same grid onto a form (not a form class; just a plain form) and run it, it's grey!
What the heck?
Ooooh... Something just came to mind. I remember reading that putting an object on a form class and then making changes to it there is "pseudo subclassing" or something like that and makes VFP store the properties differently. I wonder if it's getting confused?
I'm going to go look into the class tables and see if I can see anything. In the mean time, could someone try what I just did and see if you get the same result?
Thanks,
Michelle
Next
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