Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing form Paint() when not active form
Message
De
28/10/2002 03:40:41
 
 
À
28/10/2002 03:14:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00715951
Message ID:
00715953
Vues:
10
Hi Mark

I believe the solution to the problem is to modify Form A's Paint event with your own custom one where you test to see if Form A is currently the active form. If Form A *is* the currently active form then you use DODEFAULT() to execute the normal Paint event otherwise do nothing.

HTH

Jos



>I have a grid on form A with a container-based control in one column that is fairly slow to refesh due to it's complexity. However, this is no problem because the browse speed is still acceptable.
>
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform