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 » U++ Widgets - General questions or Mixed problems » ColumnList multi select mode: weird behavior
ColumnList multi select mode: weird behavior [message #43768] Tue, 07 October 2014 21:21 Go to next message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
Hi,
to keep it short: If you have multiple items selected in an column list and call RemoveSelected() then only one of the items is removed.
Rolling Eyes Unless, you call KillCursor() before!
This is because the removes are executed one by one and every remove tries to set the cursor to a valid row; and by doing so the selection is cleared. Shocked
In other development tools this would be considered as a bug, and in UPP?
A simple workaround would be that RemoveSelected calls KillCursor itself before starting to remove.

Regards
Manfred
Re: ColumnList multi select mode: weird behavior [message #43824 is a reply to message #43768] Wed, 29 October 2014 10:17 Go to previous message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
ManfredHerr wrote on Tue, 07 October 2014 21:21

In other development tools this would be considered as a bug, and in UPP?


Yes, it is bug for U++ too Smile

Thank you for reporting, suggested fix is OK and applied.

Mirek
Previous Topic: gui in dll does not compile
Next Topic: Switch feature contribution + StaticText USC file correction
Goto Forum:
  


Current Time: Sun Jun 23 01:29:36 CEST 2024

Total time taken to generate the page: 0.01541 seconds