Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What Can Cause Object to Lose Focus?
Message
De
07/08/2001 14:19:03
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
07/08/2001 13:50:02
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00540817
Message ID:
00540850
Vues:
27
>>Other than explicitly setting focus elsewhere or user input, like clicking or moving off the object, what could cause an object to lose focus? Are there certain events that take the focus away? Thanks!
>
>Activating another form.
>
>Are you seeing a specific issue?

Yes, but I didn't want to be in poor form by posting another message so related to other recent ones I've written regarding focus issues. They all come back to the fact that I have a combobox, with extensive code in the class, that will not keep the focus without manually clicking or tabbing into. I have event-tracked, coverage-profiled and stepped-through so much I think the code is actually beginning to deteriorate... :)

The best I can tell, when the combobox gets the focus it immediately spits it out to the next object in the tab order. I guess a better question would be: What events for a combobox fire following the GotFocus method? I have looked on MSDN and Wiki, but could not find anything.

My next step is to start breaking apart the combobox class, but this will be an effort as it was initially built from someone else's class and modified to work in my particular situation. I was hoping by understanding what might cause an object to lose focus I could limit the scope of my troubleshooting.

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

Click here to load this message in the networking platform