Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To add label objects to a class dynamically
Message
From
27/01/2001 18:17:25
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
27/01/2001 13:26:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00469406
Message ID:
00469446
Views:
12
thanks for the response, I decided to design the screen differently and use a grid.

Thanks again

Jim

>>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
Thanks

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform