problems with syncing scrolling between two grids

hello,

In the attached script I have a sashwindow with two grids and I want both scrolling when I click on the down arrow of the right grid scrollbar (this is a simplified version of my application). Every row of the first grid must be kept aligned with four row of the second grid while scrolling and this seems to work. I’ve found two problems:

  • the main problem is that setting up the vertical scrollbars for the wanted behaviour I can’t see anymore the horizontal scrollbars. How can I get them still visible?
  • I’ve found a different behaviour between classic wxpy 2.9 and 3.0: see _linedown method in grid2. Is this a bug of 3.0 or 2.9? I haven’t found anything reported about it

My setup: python 2.7, tested on win7/8.1, wxpython classic 64bit

thanks in advance for hints

Marco

synscroll.py (2.78 KB)