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!

How to make co-ordination

Status
Not open for further replies.

alisaif

ISP
Apr 6, 2013
418
AE
Hi,

How can I coordinate the record of a cursor and the AfterRowcolChange. Please look into the image.
If I move across the grid the record in cursor should move accordingly.
In image the record pointer is on 2nd record where the cursor (PlbRaw) is eof position.

Thanks

Saif
griderr_gd99a2.png
 
Not sure if I understand the question. in particular: "If I move across the grid the record in cursor should move accordingly." No. The record pointer moves accordingly if you move the up or down the grid, not across the grid.

In general, to make the highlight in the grid show the current record in the underlying cursor, you only have to set focus to the grid.

Does that help?

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
By debugging this you create additional BeforeRowColChange and AfterRowColChange events. Simply test this without debugging, you may only intriduce problems by debugging this.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top