Information générale
Catégorie:
Codage, syntaxe et commandes
Hi!
I am trying to make grid code that will:
When a use ris in readonly non-edit mode they can select a row/column in a grid.
Then after they press the edit button (thus focus is gone from the grid)
The cursor goes directly back to the same field in the grid.
However, Also when going into edit mode the cursors order changes (by design).
How could I handle this?
I tried:
AfterRowChange
IF lEditMode
thisform.nrowno=this.activerow
thisform.ncolno=nColIndex
ENDIF
Edit Button Click
thisform.measlist.activatecell(thisform.nrowno,thisform.ncolno)
This worked sometimes but the grid jumps all over the place and is unreliable.
Any ideas?
Thanks
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement