Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActivePage Works Only During Trace/Debug
Message
De
02/08/2001 10:42:51
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
02/08/2001 10:20:50
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00538807
Message ID:
00538817
Vues:
10
>From a button on Page3 of a pageframe, calling SetFocus for an object on Page2 and setting ActivePage = 2 leaves Page3 visible instead of Page2. Except when I Suspend and then immediately Resume from the debugger it does display correctly. Is this a Refresh issue? I have used the Event Tracking, but still can't seem to see why Page2 will not display. Everything says that it should be, but it's not. Also, it seems that the Page3.Activate occurs right after the Page2.Object.SetFocus call from the button on Page3. Why would that happen? Event Tracking shows me when events are fired; is there anything that tells e why? Thanks!

Ok, it works now. All I did was move the SetFocus and ActivePage outside a conditional logic.

This does not work:
If ThisCondition
   Stay on Page3
Else
   Page2.Object.SetFocus
   ActivePage = 2
Endif
This does:
If ThisCondition
   Stay on Page3
   Return
Endif

Page2.Object.SetFocus
ActivePage = 2
Still curious about why and the other stuff I mentioned.

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform