Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big problem: Form never gets focus
Message
De
14/05/1999 23:46:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Big problem: Form never gets focus
Divers
Thread ID:
00219293
Message ID:
00219293
Vues:
50
Hello. I have a little form (FrmStatusBar) which sits at the top of my main screen and contains a lot of status information. It's the first thing that get instantiatied after the application. It's worked fine for months.

Suddenly the form stopped appearing. (I was making some minor changes to the form.) When I trace the execution, Activate is called but the GotFocus() method never gets called.

I reloaded a version from Tuesday and the event order is what I would expect: Show, Activate, RefreshForm (a codebook method), GotFocus (contents of form appear), back to DoForm().

The order on my current (failing) form is: Show, Activate, RefreshForm, back to DoForm().

If I execute the GotFocus() method from the command line, the form appears and looks normal.

As I understand it, the jump from Activate to GotFocus is native behavior of the Form baseclass.

Anyone have a guess as to what would disrupt this? I've deleted some of the controls I was working on but it's still failing.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform