Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box selects item when not supposed to
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00877999
Message ID:
00878094
Views:
23
>>Scroll down a VFP listbox and let the mouse cursor drift to the left of the vertical scrollbar while scrolling. The list will continue to scroll, but if you do a mouse-up with the cursor still over the box (rather then the scrollbar), VFP will select whatever item the cursor is over, even though you didn't do a mouse-down on it. I think that's a bug. Is there a workaround for it? Thanks.
>
>It seems that mouse up (by design) affirms the selection. It's a nice feature, expecially if the user changes their mind. You can also see this behavior in the form's [X] close. Click the mouse-down on the close [X]-Button, and move it off the [X]-button, then let it up. The form remains open.
>
>It kind of offers the user a second changes to abort the mouse-down action. It seems to be accross the board for most window's apps.
>
>HTH

I don't think I understand what you're saying. The mouse-down event is what initiates the scrolling action (mouse down on scroll thumb, then drag). It's when you accidently let the cursor slide to the left of the scrollbar when scrolling, and THEN mouse-up, that the listbox item is inappropriately picked. This can screw things up after you've ctrl-clicked several ad-hoc items and now you're simply scrolling to another section of the list to continue selecting more items.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform