Hello Adrian
I am still getting strange things happen to flexcel grid scroll bars when I enable VCL.Styles.
I have tested this using your supplied demo for version 3 of XLSViewer
If I use the default windows style then the grid scroll works perfectly.
However if I enable a style then the grid horizontal bar stops working correctly, the grid movement seems to jump about and even the vertical scroll bar moves down by it self.
Can anybody else reproduce this problem?
Well, I've personally not been able to get any control to work reliably under VCL styles, so if you got the rest of the app to work you are in a better situation than me :)
Hello Adrian
The scroll problem arises when you load multiple sheets and switch tabs.
I am loading 20 sheets of data, and the problem can be seen most easily when you switch to the last sheet.
I have tested several styles and they all produce the same problem.
FlexCelGrid.DoubleBuffered := false or true makes no difference.
I have tested on two development machines, both WIn XP, and tested the compiled app on XP and win7 with same result.
I haven't tested stringgrid with multiple tabs sheet switching as i
don't have a vcl app for that - do you have a demo I can try please?
Thanks
I' ve tried it some more, in different machines, with multiple files and multiple sheets and I still can't reproduce the issue. What I have seen is that if the grid is small, then the horizontal scrollbar can get our of sync with the mouse, probably because it can't move smoothly because the grid has to move in discrete steps (from column a to column b, but you can't see half of column A and half of column B), so the scrollbar has to "jump". Without styles the mouse keeps attached to the scrollbar, with them the mouse moves slower.
Hello
Can i just say the support from you Adrian is fantastic!
Yes one of the symptoms was the scroll bar would not move back to the left.
Anyhow disabling the skin for the grid has cured the issue for me too.
Thank you so much.
Regards