Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ActivateCell method outside the visible range of a grid 1

Status
Not open for further replies.

Harulem

MIS
Mar 26, 2004
8
BE
There is something I don't get with the ActivateCell method.
I can't use it to reach a cell that is not currently visible on the form's display.
Let's say for example that the grid displayed on the current form is ten lines long, displaying record number 1 to 10 of the grid datasource table. A call to ActivateCell(X,Y) won't work for any X outside the range [1,10]. If the grid was 5 lines long, the range would shrink to [1,5].
Is this normal, and if is, is there a way around it?
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top