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 » DropList + AddSeparator + mouse wheel problem
DropList + AddSeparator + mouse wheel problem [message #22971] Thu, 03 September 2009 12:17 Go to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

When directly scrolling the selection on the DropList's fixed part using the mouse wheel (or with keyboard arrow keys), the current selection position jumps to wrong item when it crosses a separator which is not the first one in the list. It also allows selection of the separator, which it should not.

	DropList droplist;
	// ...
	for(int i=0;i<10;i++){
		droplist.Add(i,Format("%d",i));
		if(((i+1)%3)==0) droplist.AddSeparator();
	}


To see the problem, try to scroll from 0 to 9 and back.

// Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Strange behavior of Point in watches
Next Topic: MenuBar::Execute isn't modal?
Goto Forum:
  


Current Time: Tue Apr 23 10:10:43 CEST 2024

Total time taken to generate the page: 0.02286 seconds