Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command buttons on a form
Message
De
22/09/1999 17:01:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267699
Message ID:
00267803
Vues:
30
>>I'd use:
>>
>>
for each loButton in thisform.controls
>>    if upper(loButton.BaseClass) = 'COMMANDBUTTON'
>>        loButton.Whatever...
>>    endif
>>endfor
In this case loButton refers to the actual control, so if you need its name you can do loButton.Name.
>
>I mean can you give me an example. You said "for each loButton " how would I word this or even know what loButton is? I know what my controls are.....

loButton is actually arbitrary here.

You could say for each loControl or for each pirhana
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform