Versions des environnements
I test the code also, I notice sometime the [toControl] is not an object(show as .F. in the debugger), to overcome the problem, I just add some code to detect when [toControl] is not an object, then just don't run those resize code, see the example below.
Hmmm. This is very interesting because the code that I posted was from a class in an old production application and the client has never complained of a problem. I just re-tested with a form that contained a pageframe with 2 pages, an option group, a combo box, a list box, a command group, a command button and 2 grids. The code worked flawlessly.
Did you have something else on your form that is not in the list above?
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