Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TDBGrid : Problem in autoscroll to beginning of row on Row Selection, accessing Protected Members

7 views
Skip to first unread message

VigneshKum...@gmail.com

unread,
Aug 17, 2008, 3:16:01 AM8/17/08
to
Hello All,

When a row of a TDBGrid component is selected somewhere in the middle
(say some 20th column) with RowSelect set to true, the focus moves to
the beginning of the row and hence the 20th column gets hidden, as it
moves to the right.

Is there any means to avoid this scrolling to first column of the
selected row of a TDBGrid component and persist the focus to the
position where it was when clicked?

How to access the Protected members of TDBGrid. Found some code
snippets in Delphi but I am facing few problems when implemented in
Borland CPP.

Thanks in advance.

Regards,
Vignesh

0 new messages