Similar fun can be had with listbox controls in VFP. If you use the vertical scroll bar with the mouse and then click on an item in the list box, you might expect to get the item you clicked on. Instead, you will get the last visible item from the original view *before* you started scrolling. This is what Whil Hentzen might describe as a user hostile interface. For example, this used to bite me all the time with the breakpoint settings list in the debugger. I scroll down the list and click the breakpoint expression I want to disable. Nice try, dude. The key is to get the keyboard focus inside the listbox before you start scrolling. Try explaining that to your end users... :-)
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: Thursday, May 19, 2016 4:02 PM To: profoxtech@leafe.com Subject: Dropdown Combobox not selecting behavior
Had a customer call in the other day and complain about this. Selecting something new in the dropdown doesn't always select the item clicked on.
If you move to the selection and your mouse moves off the dropdown area when you let go of the mouse button, your click will not select the item.
If you move to the selection and your mouse is still over the dropdown area when you let go of the mouse button, your click will successfully select the item.
So, we let our customers know they need to stay within the lines, as they learned when they were coloring.
Have a good one, Tracy