Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Label
Message
De
01/03/2024 05:59:41
 
 
À
01/03/2024 05:56:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01687658
Message ID:
01687665
Vues:
39
>>I'm really sorry for my earlier wrong comments. It seems that you can't use With-Endwith the way you do. Try the following workaround instead:
>>
>>  oLabel = "elbl"+Alltrim(Str(i))
>>  loForm.Newobject(oLabel, "Label")
>>  With eval("loform."+olabel)
>
>Another option is my favorite trick (stolen from Fabio, he found it)
>
>with getpem(loForm, oLabel)

There are always several ways to the same goal with FoxPro. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform