Data Grid and Scroll Bars

S

Stephen Costanzo

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.
 
C

Chris

Stephen said:
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
 
S

Stephen Costanzo

The datagrid is docked, therefore it will auto adjust in size with the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top