Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of Setfocus
Message
 
 
À
10/09/2008 10:14:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346328
Message ID:
01346332
Vues:
11
>Hi All:
>
>I'm trying to get the cursor into the field that's missing data using Setfocus(). It works on some text fields, but not others and I can't for the life of me figure out why. I pass the object.name back to the form and call Setfocus() in the Show() of the page. The text fields have different pedigrees, but that shouldn't matter.
>Can someone tell me what governs whether a field accepts a setfocus and another not? Is there another way of doing this or of forcing it?
>
>Thanks,
>Luke

If the field is on the different page you first need to activate the page. thisform.ActivePage = 3 (if the textbox is on the 3rd page).
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform