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  |
Tom1
Messages: 1303 Registered: March 2007
|
Ultimate 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
|
|
|
 |
|
DropList + AddSeparator + mouse wheel problem
By: Tom1 on Thu, 03 September 2009 12:17
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: mirek on Fri, 04 September 2009 14:52
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: Tom1 on Sun, 06 September 2009 21:12
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: mirek on Mon, 07 September 2009 08:20
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: Tom1 on Mon, 07 September 2009 09:08
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: mirek on Mon, 07 September 2009 10:04
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: mirek on Mon, 07 September 2009 10:49
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: Tom1 on Mon, 07 September 2009 11:45
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: mirek on Mon, 07 September 2009 13:20
|
 |
|
Re: DropList + AddSeparator + mouse wheel problem
By: Tom1 on Mon, 07 September 2009 14:15
|
Goto Forum:
Current Time: Wed May 14 13:55:07 CEST 2025
Total time taken to generate the page: 0.02940 seconds
|