>>>>
>>>>That code is generated from the default VFP. Remove the "THIS.caption = m.vNewVal"
>>>
>>>Almost there, I get error "MEMBER WITH THIS NAME ALREADY EXISTS"
>>>
>>>.NewObject( lc_Object, 'lblChar', 'ClsLabel', , ;
>>>If I ignore it, it proceeds successfully. I am studying this tricky class and learning to experiment. thanks 4 all your help.
>>
>>You're welcome.
>>One thing from this class is, it builds the Text/Caption from labels control. Each of label control only have one character, because you want to give different color for each character.
>>
>>I wish you good luck!
>Before I let you go, are you getting that error too? "MEMBER WITH THIS NAME ALREADY EXISTS"
Of course not! <bg>
Try to create a new form. Drop one colorlabel class and one textbox. In the "TextBox.Valid" event
put: ThisForm.ColorLabel1.Caption = alltrim( This.Value )
Try to run it. If you still get that error, post the last modified code from colorlabel class. We'll take a look at it once again.
Herman