Lately I’ve worked on HFinder, as said in my previous post, this work have hilighted some missing features and a couple of bugs in the ListView class (and some minor things).
The first huge missing feature was the mouse wheel support in the ListView class, I’ve forgot to implement it! So now it’s available and behave as following:
- Mouse wheel ⇒ Scroll one line
- Mouse wheel + left shift ⇒ Scroll one page
- Mouse wheel + left control ⇒ Scroll to the top/bottom of the list
Qualifier keys (left shift and left control) can be changed using the ListView tags <WheelPageQualifier> and <WheelSEQualifier>
The second problem was that when many items are showed in the ListView the vertical scroller’s cursor was so tiny that was very difficult (if not impossible) to click, ofcourse this problem was related to the Scrollbar class which it’s used for the ListView vertical scroller, so I’ve implemented a minimum cursor size in pixels that can be changed with the global variable <HGui.MinSBCursorSize>, the default value is 8 pixels and it’s valid for both vertical and horizontal scrollbar.
The last fix for today was a glitch caused by the minimum cursor size that was causing a render of the cursor outside its container, but after a few hours I’ve figured out how to handle it.
Here is a brief summary:[wp_ad_camp_2]
Before saying goodbye here is a shot of the upcoming reworked HFinder :