Recent

Author Topic: [Solved] StringGrid - disable row change on scrolling  (Read 8387 times)

Dibo

  • Hero Member
  • *****
  • Posts: 1057
[Solved] StringGrid - disable row change on scrolling
« on: January 09, 2013, 09:56:40 pm »
Hi,

Can I disable row change when scrolling with mouse? Now when I scroll by mouse, row is changing instead of scrollbar scrolling. I want similar behavior like in ListView - selection doesn't change, only scrolling. StringGrid has many options, I tried all, but maybe some special "mixed" configuration is needed? But when I click on scrollbar arrows, then grid is scrolling without row change, so it is possible in some way...

Regards
« Last Edit: January 09, 2013, 10:16:05 pm by Dibo »

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: StringGrid - disable row change on scrolling
« Reply #1 on: January 09, 2013, 10:08:04 pm »
There is property MouseWheelOption (mwCursor or mwGrid).
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Dibo

  • Hero Member
  • *****
  • Posts: 1057
Re: StringGrid - disable row change on scrolling
« Reply #2 on: January 09, 2013, 10:15:51 pm »
Argh.. how I could missed this property!? Shame :-[ . I was focused on Options set. Thanks!

 

TinyPortal © 2005-2018