Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > DB-Aware

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2002, 10:50 PM
jone jone is offline
Senior Member
 
Join Date: Jul 2001
Posts: 456
Default how to get a column and row ID number of a dbgrid

Who know to get a column and row ID number of a focused cell in a Dbgrid ( write in Oncolexit or OncolEnter envent of DBGrid)
Reply With Quote
  #2  
Old 01-09-2002, 10:00 AM
Ted On The NeT Ted On The NeT is offline
Senior Member
 
Join Date: Apr 2001
Posts: 2,182
Default RE: how to get a column and row ID number of a dbgrid

hi,

the columnnumber you can get with:
DbGrid.selectedindex

the recordnumber with Table1.Recno (or query).


hope this helps. cya


Regards,
Ted


================================================== ========
PS: don't forget to accept this reply if it helped you!
================================================== ========
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:44 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.