Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double click
Message
 
 
À
28/01/2003 17:39:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00746031
Message ID:
00746507
Vues:
29
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform