Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command buttons on a form
Message
 
À
22/09/1999 15:32:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267699
Message ID:
00267784
Vues:
16
>
>
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.

mike, How do I get the value for loButton?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform