>I am trying to add label objects to a class dynamically. The code I have so far is below. I am getting an unknown member error.
>
>Here is the code:
>lcobjname = "oLbl" + alltrim(str(lblcount))
>thisform.addobject(lcobjname,"cbhlabel")
>
>What's wrong, please help.
>
>Thanks
>
>Jim
Jim,
Error doesn't lie in this code. It has something to do with cbhlabel class. If you could provide class code (tools\class browser\view code) it would be helpful to isolate. BTW are you adding to form or class ?
Cetin