Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution in VB
Message
De
24/10/1998 11:25:30
 
 
À
24/10/1998 01:37:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00150101
Message ID:
00150145
Vues:
23
>I am a VFP developer and need to do something in VB. In VFP, doing the following is routine business:
>
>for i = 1 to 10
> cBox = 'text' + alltrim(str(i))
> thisform.&cBox..enabled = .t.
>next
>
>The ampersand is Macro Substitution.
>
>How to do it in VB??
>
>I posted this in the VB Forum but got negative replies. Everybody said could not be done in VB.
>
>Any body in the Fox community know how to do this in VB????
>
>TIA,
>Abdul Ahad


VB does not support macro substitution. You'll have write each line of code for each of the 10 textboxes.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform