Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling Focus
Message
De
30/09/1998 12:35:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/09/1998 12:25:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00142388
Message ID:
00142463
Vues:
22
>>Instead isn't it easier moving THISFORM.cbNext.SetFocus to lostfocus of this. Or are you trying this control also lose focus when LEN(TRIM(THIS.text)) = len(this.inputmask) ?
>>Cetin
>
>The problem is if the user goes back to THIS and then clicks on another control or uses up-arrow, Shift+Tab, etc to change the focus, his focus will automatically go to THISFORM.cbNext.
>
>Werner
Yes,
But in lostfocus you could trap it :
#define shifttab ??? 
#define uparrow  ???
if !inlist(lastkey(),shifttab,uparrow) and !mdown()
  nodefault
  thisform.cbNext.setfocus()
endif
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
Répondre
Fil
Voir

Click here to load this message in the networking platform