Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object losing focus
Message
De
01/05/2001 15:52:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/2001 15:42:55
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00502203
Message ID:
00502211
Vues:
24
>In order to keep the tabbing on a form to go from one textbox to another, rather than the page tab, I'm using the KeyPress event of the last textbox to capture the TAB key and set the focus to the first textbox. The focus hits the correct box, but only briefly and then continues onto the second textbox in the TabOrder. It effectively is skipping the textbox I'm directing the focus to. I ran a trace on the code, but it's hard to know exactly what is going on as the pageframe refreshes (on it's own) right after the SetFocus is called. Is there another way to do this? There isn't a TabStop property for the page or I might have tried to set that to false. Thanks!
>
>Regards, Renoir

Renoir,
Did you include a 'NODEFAULT' there before setfocus ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform