Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cick in ListBoxes sometimes mis-fires
Message
From
21/01/2008 06:39:10
 
 
To
20/01/2008 16:36:42
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01283464
Message ID:
01283563
Views:
13
I have a form with numerous Listboxes.
Most are on pages of a pageframe but some are not.

I have been very careful to ensure that I am fully over a line in a Listbox when I click on it.

Far too often the Click() action is executed BUT the peviously selected item (or no item at all if none was selected) is the .Value available rather than the one I just clicked on. The clicked-on item also remains UNselected visibly.


I have seen this same behavior in XP when the listbozes are on pages in a pageframe and they "overlap" each other.

The only solution that I found was to move all the listboxes on the non-visibles pages so that they were not underneath the listbox on the active page. I added a custom method called SetControls to my form to handle all the re-positioning of the listboxes and called it when the active page changed.
Previous
Reply
Map
View

Click here to load this message in the networking platform