Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl GetSelectedCount() bug?
GridCtrl GetSelectedCount() bug? [message #54660] Sat, 29 August 2020 12:23
forlano is currently offline  forlano
Messages: 1108
Registered: March 2006
Location: Italy
Experienced Contributor
Hello,

I have a GridCtrl in MultiSelect mode.
The following code

int nsel = arr.GetSelectedCount();
Exclamation(AsString(nsel));

give me the correct number of selected rows in case they are greater than one, but in case I choose only ONE row it give me 0.
Is this the correct way to work?
Test case attached.

Thanks,
Luigi
  • Attachment: gridtest.7z
    (Size: 0.85KB, Downloaded 2 times)
Previous Topic: ArrayCtrl or Sql feature broken in latest releases
Goto Forum:
  


Current Time: Sun Sep 27 21:46:44 CEST 2020

Total time taken to generate the page: 0.01040 seconds