Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To add label objects to a class dynamically
Message
De
27/01/2001 13:26:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/01/2001 13:20:55
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00469406
Message ID:
00469409
Vues:
11
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform