Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Activatecell() in a grid
I am trying to use the Activatecell(row, col). What I am trying to accomplish is setting the user in the grid's row and column that they were last in.
The Column part of Activatecell(row, col) works great. However, it looks like the Row part works only for the currently visible rows in the grid.
For example, if I have 100 rows(records) in my grid and only 10 rows display at 1 time, if I issue grid.Activatecell(30, 2). This command fails. The command will only allow row values of 1-10, the number of rows currently displaying.
I would rather not include the ROW portion of the command because I seek() the correct row(record), however, Activatecell(row, col) seems to require the row.
Am I missing something? I really only need to activate the correct Column anyway. Is there a better way?
Thanks,
Jerryt
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