Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activatecell() in a grid
Message
De
23/11/1999 13:12:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Activatecell() in a grid
Divers
Thread ID:
00294436
Message ID:
00294436
Vues:
52
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
Fil
Voir

Click here to load this message in the networking platform