Recent

Author Topic: dbgrid and multiselect issues with Laz 1.8  (Read 1676 times)

snorkel

  • Hero Member
  • *****
  • Posts: 817
dbgrid and multiselect issues with Laz 1.8
« on: February 20, 2018, 04:58:05 pm »
I have not used the dbgrid with multi select in awhile, but before you just set row select to true and multiselect to true and You could CTRL click to select multiple rows, it still does that but when I also select the option to use any button to select that when the odd behavior starts.

With the any button to select enabled if I right click it it selects it as if I did not have the multi select enabled i.e. the grid indicator icon stays the solid black icon and not the icon that appears when you single click while in multi select mode.  The issue is any code that uses the selected property does not work as a selected bookmark is not set.

I also tried doing some code in the onmouse down and same deal.

I hope I am explaining this correctly.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

 

TinyPortal © 2005-2018