Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No focus
Message
De
05/02/2002 16:39:41
 
 
À
05/02/2002 16:28:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00615541
Message ID:
00615760
Vues:
36
Winn,

We'll get this rabbit hunted down :)

How did you determine that it had focus? Just because setfocus() method fires does not mean it had focus. Did the gotfocus() fire?

Could you post the interactiveChange() code from the textbox in page 1? In your interactive change, add the following lines before your code that changes the active page. When the debugger fires up, press F8 and see where your code goes.
set step on
debug
If these objects are from the VFP base classes, you could replace them with base class objects to see if your classes are causing problems.

>Steve,
> I took out the code in the next object in the tab order that sets focus the second time. When ran the text box only receives focus once, but the focus is on the next object. So it had focus, but not for long.
>
>>>I think setfocus() is being called in 2 different places *grin*. But, from what you are describing, it is not really getting focus...to experiment with the firing order, you can put the same code (activate screen/? program()) in when() and gotfocus().
>>
>>OK.
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform