Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Resolution conflict
Message
De
04/01/2005 18:02:36
 
 
À
04/01/2005 14:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00973613
Message ID:
00974227
Vues:
30
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
Fil
Voir

Click here to load this message in the networking platform