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

scroll bar in data grid

1 view
Skip to first unread message

Philip Germanos

unread,
Jun 18, 2005, 4:56:01 AM6/18/05
to
Hello,

I am displaying one row in a datagrid, and i made its height larger than the
datagrid height because it contains long descriptions, so a vertical scroll
bar appears but with no cursor on it to let me move down the grid.
How can i have access to the datagrid scrollbar?
or what else can i do?

Thank you.

Sergey Bogdanov

unread,
Jun 18, 2005, 6:55:30 AM6/18/05
to
Try this:

VScrollBar vBar =
dataGrid.GetType()­.GetField("m_sbVert",
BindingFlags.NonPublic | BindingFlags.Instance).GetValu­e(dataGrid) as
VScrollBar;


--
Sergey Bogdanov
http://www.sergeybogdanov.com

0 new messages