Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus is not working correctly
Message
 
À
13/05/1999 14:15:12
Steve Summers
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00218523
Message ID:
00218527
Vues:
21
>I have a textbox that after the user enteres a value i use the following code to add the value of the textbox to a listbox. this code is in the keypress event
>
>If nKeyCode = 13 && Enter key
> thisform.lstinfo.additem(this.value)
> this.value = ""
> this.setfocus()
>endif
>
>The setfocus is not working. The focus is moving to the next item in the tabindex order.

Put NODEFAULT instead of/or before the setfocus.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform