Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double click
Message
 
 
To
29/01/2003 19:18:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00746031
Message ID:
00747010
Views:
29
Joey,

I imagine ripping the RowSource out from under the listbox, and/or the time it's taking to do that is impacting the ability for dblclick to work. In fact when you think about it there is no item to even double click. Your first click is causes the item to not even be there, your second click ends up being the first click on some new item in the list.

> I will probably keep messing with this because I hate letting something get the best of me. As far as your code goes, I have no doubt that it works. In the form that I'm having the trouble with, I found that in testing that if I took out all the code repopulates the array that is the rowsource for the listbox, then it too will detect the doubleclick.
> However, the treeview .ZIP you pointed me to, does the trick. I have already done a few tweaks. It works great and recognizes the difference between single and double clicks.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform