Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid's right/left problems
Message
De
23/01/2002 05:58:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/01/2002 04:08:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00608821
Message ID:
00608841
Vues:
11
>Hi All!
>J have VFP 5/6 application,that must works with Hebrew Windows version.
>J want a Grid allows to shift from rigth to left after Enter key was pessed.
>Now J may use by Shift+Tab key for moving from right to left,but not after
>Enter key was pessed.(J tried SetFocus after Enter key,but it is not enough,if J go to the Value event,J could't use by SetFocus).
>Thanks!
Yochanan,
*Grid.Beforerowcolchange
Lparameters nColIndex
If !mdown() and lastkey()=13
  Nodefault
  With this
   lnTargetOrder = iif( nColIndex=1, .Columncount, nColIndex-1)
    For ix=1 to .Columncount
      If .Columns(ix).Columnorder = lnTargetOrder
        .Columns(ix).Setfocus
        Exit
      Endif
    Endfor
  Endwith
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform