John Baird
Coatesville, Pennsylvanie, États-Unis
Versions des environnements
>>Is Form2 modal? Sounds like it should be. In that case, it has direct access to Form1's controls. They are all still in memory. I think you have to go into the generated part of Form1's code and change their scope from the default of private.
>
>IMO, its a bad idea to modify any generated code because everytime it gets regenerated you have to make your hacks again and again.
I certainly agree with that. Will make some time today to play around with two test forms and see if this can be done in an un-hacky way. At this point I'm not even sure when the code for a form control gets regenerated.
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