Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CommandGroup and CommandButton containership
Message
De
18/06/1997 09:48:08
 
 
À
18/06/1997 09:08:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00036762
Message ID:
00036770
Vues:
30
>I have a form I have designed that has a commandgroup object with 6 buttons. I want to change the value of a given property for any button that is clicked. I know that I can include a This.Parent.Setall() command within each buttons click event and the use This.Property="value". Is there an easier way???

I don't understand completely what property you are going to set, but the generic way is to have a class (based on commandbutton in your case) with all appropriate PEMs. Then you just derive controls from this class. BTW, SetAll method is pretty good too, and easy enough.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform