Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No focus
Message
De
06/02/2002 13:16:17
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
05/02/2002 12:31:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00615541
Message ID:
00616184
Vues:
28
>>>Hi All,
>>> I have a text box control that is supposed to get focus when the page comes up. However it immediately loses focus. The focus goes to the next control. Has anyone ever encountered this before?
>>
>>Hey Winn,
>>
>>Many, many times... Usually it has to do with the textbox not being enabled at the time the focus is being set (check refreshes, etc). Also, there could be code in a page Activate that is throwing it around. I have to run at the moment, but when I get back if you haven't resolved it I'll search through my threads and see if I can find this. I have many, many posts regarding this from back a few months ago. Maybe a PUTM can jump in in the meantime. Oh, also check if you are setting the focus from a valid or click and then have code that runs after it. It can get confused there too.
>>
>>Renoir
>
>Renoir,
> Actually I SETFOCUS() in the page activate.


Yeah, me too, but if the object isn't enabled at the time the activate fires then it will not stay there and move on to the next one in the order.

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

Click here to load this message in the networking platform