>>>>OK, Jim, I put Thisform.SetAll("forecolor",RGB(255,255,0),"label") into the init section and no changes are apparant at all.
>>>
>>>Timothy,
>>>
>>>Are your lables base class labels or comming form your subclasses? I just made a form, put four labels from teh base class Label in it and four labels from my label class in it. In the INit I put THISFORM.SetAll("ForeColor",RGB(255,0,0),"Label") anmd teh base class label'ss color changed but the labels from my class did not. This si what I expected as the class I affected was the Label class and not lblBase class.
>>
>>I guess they are base classes. Is this what foxpro defaults to?
>Timothy,
>
>You can look at the class anmd parent class properties in the Properties sheet for the labels to see what class they come from. You need to use the value of the Class property in the SetAll() call.
Like I told the other guy, I am reading a 3rd party foxpro book and it says to create my own default classes and not rely on VFP's.
You're saying I need to create my own class label with a specific color and pull that into my forms?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."