Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double click
Message
 
 
To
28/01/2003 17:39:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00746031
Message ID:
00746507
Views:
28
Joey,

In VFP7 I created a form, dropped a baseclass listbox onto the form and put this in the Init:
with this
   for i = 1 to 100
      .AddItem( str(i) )
   endfor
endwith
Made both the Click() and DblClick() :
debugout program()
opened the debug output window (I run the debugger in the VFPFrame) and ran the form.

It had no problem whatsoever listing either click if I just clicked an item or click and dblclick if I double clicked an item.

Perhaps you have some code elsewhere in your class hierarchy that is messing with it. Is it possible that the execution time of your click method is hampering the ability to detect the double click?

>Very logical solution. Shame it doesn't work. <g> The dblclick() code never runs 99% of the time.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform