Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning onto another row in a grid
Message
De
11/01/2006 13:13:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01085643
Message ID:
01085752
Vues:
13
>Hi! I have a grid, this is an invoice body.
>
>When the user tabs past the last column in my grid, my method works out wether to add a new record or just set the focus on the next line of my grid in the first column. The first column of the grid is a combobox.
>
>I achieved this by filling the keyboard buffer with an arrow down.
>
>The first column must now be a combo list, so filling the keyboard buffer with arrow down now changes the combo selection, and no longer moves the current row down one. How can I set the row of the grid?
>
>Any ideas?
>
>Any help extremley apreciated

a trace
* init
ADDPRO(this,"lastCOrder",1)
* ON BeforeRCC
lparam corder
this.lastCOrder=m.corder

* on afterRCC
lparam corder
if m.this.lastCOrder=m.this.columnCount and m.corder=1
  SKIP && OR APPEND
  grid::refresh
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform