Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement