Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activatecell() in a grid
Message
From
23/11/1999 13:12:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Activatecell() in a grid
Miscellaneous
Thread ID:
00294436
Message ID:
00294436
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform