Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have a button group that is disabled. This set of buttons is supposed to be for the user to select various sort orders. I have recently been adding code to disable/enable certain individual buttons in my navigational button group, a different group. I cannot find where this could have been changed. Can someone tell me where to look?
Sometimes it is the easiest solution where you might have (by accident) changed the default property of the button group you mention from within the properties sheet. If not there, I would do a search for "enabled" with "all objects" checked so it will go through all code in the class. If that still doesn't do it, I would resort to stepping through the program. Maybe by some ON KEY setting to set step on when you get to the area in question... or put a "breakpoint" in the debugger based on "myButtonGroup.enabled". Then when the value changes, you will know exactly where it happened...
HTH
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