Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dodefault() in the child form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00482661
Message ID:
00482785
Vues:
12
>Hi.
>I notice something yesterday as I was experimenting and I want to know if what happened is common.

>I have a parent form class that I use to create my forms. When I issued a DODEFAULT() in the REFRESH method of my forms, every object on the form gets refreshed multiple times. Thus, I must leave the REFRESH method clean and free of any code if I want my app to be clean. Am I guffy or am I right?

>Is this odd or what? :)

You may want to try a Windows lock via API instead:

DECLARE SHORT LockWindowUpdate IN WIN32API INTEGER hWnd
DECLARE INTEGER GetActiveWindow IN WIN32API
=LockWindowUpdate(GetActiveWindow())
* Do stuff
=LockWindowUpdate(0)

Found in the file section
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform