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: 1182
Registered: March 2006
Location: Italy
Senior 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 114 times)
Previous Topic: ArrayCtrl or Sql feature broken in latest releases
Next Topic: Minor "mistake" in <CtrlLib/ArrayCtrl.h>
Goto Forum:
  


Current Time: Thu Mar 28 10:08:51 CET 2024

Total time taken to generate the page: 0.00844 seconds