Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double Click SOlution for a difficult Active X Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00613232
Message ID:
00613379
Vues:
10
Tim,

Could you simulate a doubleclick in it's click event?

Off the top of my head:
Add a doubleClick method.
Add a lastClickTime property.

In the click do:
if (seconds() - this.lastClickTime) < _dblClick
    this.doubleClick
else
    this.lastclickTime = seconds
endif
>Hi!
>
>I have a special active X control on a form that sort of takes over and puts itself in front of any controls on the form.
>
>It has no double click event so I tried to put a shape in front of it and make it transparent but everytime I set zorder(0) it has no effect the active x control keeps itself in front.
>
>Anyone have any ideas how I can solve this?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform