Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus is read only
Message
 
À
16/09/1997 14:45:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00050245
Message ID:
00050254
Vues:
27
>>>>When I try to "thisform.mytextbox1.setfocus=.t.",
>>>>I get "setfocus is read only"
>>>>How was I supposed to move the focus to the control of my choice?
>>>
>>>thisform.mytextbox1.setfocus()
>>>This is method!
>>
>>I made the change. But the cursor does not appear in the said textbox ready to start typing.
>
>Try NODEFAULT before thisform.mytextbox1.setfocus() line. BTW what snippet is this?

On the line b4 it, by itself? I did that but no effect.
As for the snippet not sure what you mean but setfocus() command is in a cmdbutton's click event.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform