By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,435 Members | 1,967 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,435 IT Pros & Developers. It's quick & easy.

Data Grid and Scroll Bars

P: n/a
I have noticed that if I have a data grid with scrollbars and scroll it off
screen and back again that the scroll bars are missing.

Thinking that this was just a repaint issue, I attempted to click on the
region where the scroll bars would have existed to try to scroll - thereby
causing the bars to repaint. No joy there.

While I can call the datagrid's invalidate function each time I manually add
a row to the underlying table, this doesn't work if I drag the form off the
screen and back.

Is this a bug? I have tried searching on +Datagrid +Bug +ScrollBar but don't
find any relevant hits.

Thanks in advance.


Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Stephen Costanzo wrote:
I have noticed that if I have a data grid with scrollbars and scroll it off
screen and back again that the scroll bars are missing.

Thinking that this was just a repaint issue, I attempted to click on the
region where the scroll bars would have existed to try to scroll - thereby
causing the bars to repaint. No joy there.

While I can call the datagrid's invalidate function each time I manually add
a row to the underlying table, this doesn't work if I drag the form off the
screen and back.

Is this a bug? I have tried searching on +Datagrid +Bug +ScrollBar but don't
find any relevant hits.

Thanks in advance.


Is the datagrid width/height larger than your form?

Chris
Nov 21 '05 #2

P: n/a
The datagrid is docked, therefore it will auto adjust in size with the form.

"Chris" <no@spam.com> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
Stephen Costanzo wrote:
I have noticed that if I have a data grid with scrollbars and scroll it
off screen and back again that the scroll bars are missing.

Thinking that this was just a repaint issue, I attempted to click on the
region where the scroll bars would have existed to try to scroll -
thereby causing the bars to repaint. No joy there.

While I can call the datagrid's invalidate function each time I manually
add a row to the underlying table, this doesn't work if I drag the form
off the screen and back.

Is this a bug? I have tried searching on +Datagrid +Bug +ScrollBar but
don't find any relevant hits.

Thanks in advance.


Is the datagrid width/height larger than your form?

Chris

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.