Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse equivalent of CLEAR TYPEAHEAD
Message
De
15/07/2002 23:54:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00677211
Message ID:
00678950
Vues:
23
Hi David,

Sorry, actually, my touch screen application use a pageframe.
On the first page, if my user click on one of the image, it
will activate the second page of the pageframe.

I had set the touchscreen option to click on touch

However, on the first page of my application, when my
user click the image more than once, the second page which
is activated had the default button click, which is not what
I want.

I tried to use your code on

n = INKEY(0.01,"MH")
n = 0
WHILE(n > 0)
...

My testing show that it is not consistence as it depend on
the user clicking speed, sometime the above code work, sometimes
it don't. I am at a loss. I already tried to disable the button
when user click it, but it don't help as it seem like the mouse
click is forwards to the second page.

Please kindly advise me.









>Virusim,
>
>I'm having a hard time understanding why you are having the problem. If you have some sort of a long running process in a Click() you can try code like this:
>
>this.Enabled = .f. && prevent multiple clicks
>* do slow stuff
>doevents
>this.Enabled = .t.
>
>You might need to just build some additional selective Enable/Disable code to prevent the problems your users are having.
>
>>Thank for your advise, actually, my touch screen application didn't
>>use double click of the mouse, just that one of my pageframe when
>>user click one of the image more than once on that page, it will actually
>>default to clicking my next pageframe button, is there any way to disable
>>the extra mouse click. Please kindly advise.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform