Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I Determine Grid column
Message
De
04/01/2002 06:28:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00600488
Message ID:
00600671
Vues:
17
>How do I determine when a particular column is highlighted on a row in a grid. For example, I am trying to have my cursor in grid move down a row, if it is at the end of the column for a row (column 4). I want to have the cursor move automatically to next row, column1 if the user hits enter or tab.
>
>
>Thanks
>Nick Patel

Nick,
*Grid.BeforeRowColChange
LPARAMETERS nColIndex
if nColIndex = this.ColumnCount and ;
       !mdown() and inlist(lastkey(),9,13,4) && Tab, enter, RightArrow
  keyboard '{DNARROW}' && Stuff down arrow to KB buffer
endif
This would work in case columns reordered or you're on last row of visible cells too.
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