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 MultiSelect bug
Re: GridCtrl MultiSelect bug [message #56274 is a reply to message #55789] Mon, 15 February 2021 21:35 Go to previous messageGo to previous message
BetoValle is currently offline  BetoValle
Messages: 204
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,
I download v15764, windows 10, 64bits

and doesn't work as expected ie


        gridCta.Searching();
	gridCta.SetToolBar(BarCtrl::BAR_BOTTOM);
	gridCta.MultiSelect(false);



after starting with the line above,
in the grid I click with the right button and it displays
menu to select all. Having chosen not to do multiple selection,
what is the reason for selecting all?

if I go to the source and inhibit the menu call,
works as intended.

Or have solution without changing the source?

GridCtrl.cpp

	if(multi_select || !select_row)
	{
		SelectMenu(bar); // if inhibiting this line its works as expected
		isitem = true;
	}



Thanks





 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl - grid problem when i set focus
Next Topic: GridCtrl - after filter, copy all, show incorrect clipboard records
Goto Forum:
  


Current Time: Mon May 12 01:28:25 CEST 2025

Total time taken to generate the page: 0.02655 seconds