Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ignore mouse click
Message
De
26/09/1997 14:12:06
 
 
À
26/09/1997 13:54:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051797
Message ID:
00051810
Vues:
36
>>>As oppose to CLEAR TYPEAHEAD, what can we do in order to avoid a mouse click when a process in under way?
>>>
>>>I have a form which generates a process from a click on an icon. I don't want to fire the process again if the user clicks on it while the first process is not finished.
>>>
>>>I can use a flag to avoid the second process to fire but I was wondering if there would have been a way to avoid the click.
>>
>>You could just disable the control (commandbutton?) which initiate the process.
>
>Yes, that's a simple way to do it.
>
>But, I have many processes that are calling the same function. When that function is called, I would like to disable the mouse. If that would have been possible, I would not have to deal with each of those commandbutton separately. If a WIN32API function exists, it would be nice. However, I only need to disable it for the current application. This is where I think it is not possible.

I think it's even dangerous to disable a mouse. It's easy to disable control or even toggle Thisform.Enabled in the same place of code.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform