Well, in that case here is some more "hacking". Since we published the ROW 
property, we might as well set it's value. That way there is no need for table 
iteration and bookmarks. I'm really not much of a hacker, so I completely 
missed this point originally:
 
type THackDBGrid = class(TDBGrid);
...
var
  CurrentRow: integer;
...
  CurrentRow := THackDBGrid(MyDBGrid).Row;
  THackDBGrid(DBGrid1).Row := 1;
...
  THackDBGrid(DBGrid1).Row := CurrentRow;

I realy wonder why Borland didn't publish this property.
 
Zoran
 



                
---------------------------------
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to