StringGrid : MultiSelec and MouseWheel : curious behavior
Original Reporter info from Mantis: Selzig HEM
-
Reporter name:
Original Reporter info from Mantis: Selzig HEM
- Reporter name:
Description:
Hello,
Before hacking my StringGrid.
I put on my Form a default StringGrid. Option --> goRowSelect := True;
On any line, I run consecutively these three events:
1. MouseDown
2. MouseUp -> line is selected.
3. MouseWheelDown -> the previous line is deselected and the following lines are selected one by one. That seems normal.
I repeat the same procedure by selecting a block of several lines
1. MouseDown
2. MouseMouve
3. MouseUp: a block is selected
4. MouseWheelDown -> block is NOT DESELECTED and the selected block expands with MouseWheelDown.
Is this normal behavior? Why is the MouseUp interrupts the selection in one case and not the other?
In the second case, how do we interrupt the selection ?
Regards. Gilles
Last SVN Lazarus (/trunk) and fpc 2.4.5 : Win 7 and Linux 32 bits