Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard Clear type command for double click
Message
De
16/10/2014 08:13:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609505
Message ID:
01609520
Vues:
41
>>>I need to check and stop a double click of the mouse (a single click will do). Anyway to do this easily - a code example would be helpful.
>>>
>>>Mel
>>
>>
>>Reading through the whole conversation ...
>>
>>Why don't you set a property once they click and you show the form
>>The second click you can check the property and take no action in case it's set
>
>Gregory, that is what I am trying to do.... I don't know how check the property for the second click.
Init of your checkbox
=m.this.AddProperty('FormLaunched', .f.)

Click

if( !m.this.FormLaunched )
    this.FormLaunched = .t.
    do form Theform
endif
You may want to reset the property to .f. when the form is closed


Or better maybe. Make the form you launch modal. Then you don't need any checking
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform