I have a question about scrolling. I'm working with a TValueListEditor, which is derived from TCustomGrid. When you hit the up/down arrows, it moves the focus to the cell above/below the current one, respectively, unless the edit block is not active. I don't know if this is the default behavior of the TCustomGrid or just VLE, but I've seen other grids with thumb-tracking that adjust the scrollbar instead of the focused cell.

I have a question about scrolling. I'm working with a TValueListEditor, which is derived from TCustomGrid. When you hit the up/down arrows, it moves the focus to the cell above/below the current one, respectively, unless the edit block is not active. I don't know if this is the default behavior of the TCustomGrid or just VLE, but I've seen other grids with thumb-tracking that adjust the scrollbar instead of the focused cell.

By default, the mouse wheel acts like up/down arrow keys within the VLE.

What I want to know is this: how to make the mouse wheel adjust the scrollbar rather than adjust the current cell like hitting up/down arrow keys?

Note that the VLE doesn't have a "ThumbTracking" property.

Comments