Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus to a field in a Container
Message
 
À
27/01/2004 18:43:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00871194
Message ID:
00871265
Vues:
12
>Hi all,
>
>I can't SetFocus to the first and only field in my container, the code is the follow,
>
>
>Method:ValorPorConta
>WITH thisform
>	.Sfcontainer1.visible=.t.
>	.Sfcontainer1.txnValorPorConta.Value=.txnSaldo.Value
>	.Sfcontainer1.txnValorPorConta.SetFocus()
>ENDWITH
>
>
>João Batista

Does it receive focus when the value assignment is commented out?
Have you tried "KEYBOARD '{TAB}'"?
Will a .Sfcontainer1.txnValorPorConta.Click() force focus?
Will it work if it is called from .Sfcontainer1.Init()?
Will it work if another textbox is placed on the container?
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform