C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Fixing a column in InvertedView destroys display during scrolling

rated by 0 users
This post has 2 Replies | 2 Followers

Top 150 Contributor
Posts 43
ufpgmbh Posted: Fri, Apr 10 2009 2:19 AM

Hi,

I'm using v. 8.0.20081.362 of TrueDBGrid 8.0 OLEDB which comes with the 2009_1 update.

I want the first column of my grid not to be scrolled so I'm using Col1.Fix True, 0 to prevent it from scrolling.

In normal view everything works fine.But using Col1.Fix True, 0 in InvertedView the display of data gets destroyed during scrolling.

I ve attached 2 print screens to demonstrate the issue before and after scrolling. The first column containing the date is fixed.

http://www.die-hanaus.de/jpeg/scroll_incorrect_01.jpg

http://www.die-hanaus.de/jpeg/scroll_incorrect_02.jpg

Any suggestions ?

Thanks in advance,

Stephan

 

Top 25 Contributor
Posts 277

Hello,

 

I have tried to create a small sample but I am not able to replicate the issue at my end.

 

Please find the attached sample with the mail and share your observations on the same.

 

Have a nice day.

 

Regards,

Sam Xavier

 

<ufpgmbh> wrote in message news:216447@10.0.1.98...

Hi,

I'm using v. 8.0.20081.362 of TrueDBGrid 8.0 OLEDB which comes with the 2009_1 update.

I want the first column of my grid not to be scrolled so I'm using Col1.Fix True, 0 to prevent it from scrolling.

In normal view everything works fine.But using Col1.Fix True, 0 in InvertedView the display of data gets destroyed during scrolling.

I ve attached 2 print screens to demonstrate the issue before and after scrolling. The first column containing the date is fixed.

http://www.die-hanaus.de/jpeg/scroll_incorrect_01.jpg

http://www.die-hanaus.de/jpeg/scroll_incorrect_02.jpg

Any suggestions ?

Thanks in advance,

Stephan

 



http://helpcentral.componentone.com/cs/forums/p/78826/216447.aspx#216447

Top 25 Contributor
Posts 456
Hello Stephan,
 
Please use the code below to resolve the situation
 
Private Sub TDBGrid1_Scroll(Cancel As Integer)
       
    TDBGrid1.Refresh
End Sub
 
Regards,
James Smith
<ufpgmbh> wrote in message news:216447@10.0.1.98...

Hi,

I'm using v. 8.0.20081.362 of TrueDBGrid 8.0 OLEDB which comes with the 2009_1 update.

I want the first column of my grid not to be scrolled so I'm using Col1.Fix True, 0 to prevent it from scrolling.

In normal view everything works fine.But using Col1.Fix True, 0 in InvertedView the display of data gets destroyed during scrolling.

I ve attached 2 print screens to demonstrate the issue before and after scrolling. The first column containing the date is fixed.

http://www.die-hanaus.de/jpeg/scroll_incorrect_01.jpg

http://www.die-hanaus.de/jpeg/scroll_incorrect_02.jpg

Any suggestions ?

Thanks in advance,

Stephan

 



http://helpcentral.componentone.com/cs/forums/p/78826/216447.aspx#216447

Page 1 of 1 (3 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.