Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject - Click Event
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00990913
Message ID:
00991370
Vues:
16
Sergey,

Thanks for the reply. Shortly after I posted, I remembered how I had done something similar in the past.

I created a new Class - MyChkBox based on CheckBox. Before I saved it, I created a ClickEvent: Thisform.CheckBoxClicked(This.name)

In the form where I create the (from 1 to 8) Checkboxes programatically I give them names like CBX1 - CBX8. In the form I also have a CheckBoxClicked method that uses the 4th character of the passed parameter to identify the box that was checked.

By creating the class, I end up with less coding than your solution, but I greatly appreciate your response because for a while there I was butting up against a stone wall.

Thanks

Rudy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform