I have a touch screen tablet application with a treeview control.
This issue occurs when the tree view is populated and activates the scroll bar.
If you happen to swipe up or down on the clear space in the tree view control (But not on the scrollbar), the entire form will move up or down a bit in tandem, then move back to its original position when the finger is moved off the screen or moved in the opposite direction. The contents of the tree view do also move up and down as expected, but the form moves in addition. The amount of movement is not much but is quite noticeable.
I put a NODEFAULT in the mousemove event of the treeview but I believe this has already fired in response to the mouse/finger movement, so this had no effect.
I stored the position of the form in a property and put a bit of code in the form's move event to move the form back to the original position. But this is now actually worse as the form jitters back to the top position instead of holding the down or up position until the finger is released
I set the treeview scroll property to false and this has no effect other than disabling the scroll bars which defeats the purpose anyway.
Alastair
This issue occurs when the tree view is populated and activates the scroll bar.
If you happen to swipe up or down on the clear space in the tree view control (But not on the scrollbar), the entire form will move up or down a bit in tandem, then move back to its original position when the finger is moved off the screen or moved in the opposite direction. The contents of the tree view do also move up and down as expected, but the form moves in addition. The amount of movement is not much but is quite noticeable.
I put a NODEFAULT in the mousemove event of the treeview but I believe this has already fired in response to the mouse/finger movement, so this had no effect.
I stored the position of the form in a property and put a bit of code in the form's move event to move the form back to the original position. But this is now actually worse as the form jitters back to the top position instead of holding the down or up position until the finger is released
I set the treeview scroll property to false and this has no effect other than disabling the scroll bars which defeats the purpose anyway.
Alastair