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: 1127
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 39 times)
 
Read Message
Previous Topic: ArrayCtrl or Sql feature broken in latest releases
Next Topic: Minor "mistake" in <CtrlLib/ArrayCtrl.h>
Goto Forum:
  


Current Time: Sun Oct 17 06:35:08 CEST 2021

Total time taken to generate the page: 0.01280 seconds