Data Grid and Scroll Bars

  • Thread starter Thread starter Stephen Costanzo
  • Start date Start date
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.
 
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
 
Back
Top