>Actually it was "THISFORM.SETALL("foreCOLOR",RGB(0,0,160))" but I removed it so no effect.
I see. With that code, it will overides *any* class that has FORECOLOR property. You can't do much about it.
> But this command has no effect
>"thisform.colorlabel1.caption=item_name" it still says "colorlabel"
You can't change the object once it is created. If you need to do that you have to add more code to the class.
>PS. Is it not the wee hours where you live?
What is "wee hours"? is it "time to sleep" ? Sorry, though I've been to US, but my english is not good enough. <g>
Herman