Dear Vixens and Reynards:
I have never been able to get double-clicking to work when
there is also a click method. What happens is that the click method
always fires.
I have just tested this where I set _dblclick to 2, ran my
program, double-clicked, and got the click method firing. There is
no way that I took over two seconds to do the second click.
How do you get _dblclick and double-clicking to work?
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
On Wed, Sep 25, 2013 at 2:33 PM, Gene Wirchenko <genew@telus.net> wrote:
>
> I have never been able to get double-clicking to work when there is
> also a click method. What happens is that the click method always fires.
>
Is there a DODEFAULT at the end of the Click method?
Without that, you override the default behavior of Click with your custom
method.
--
Ted Roche
Ted Roche & Associates, LLC
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4u=3ZZzUvoGpoyEevxNdmC3A+K7sq_kOwPYcDUDBoc=fA@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
At 11:59 2013-09-25, Ted Roche <tedroche@gmail.com> wrote:
>On Wed, Sep 25, 2013 at 2:33 PM, Gene Wirchenko <genew@telus.net> wrote:
>
> > I have never been able to get double-clicking to work when there is
> > also a click method. What happens is that the click method always fires.
> >
>
>Is there a DODEFAULT at the end of the Click method?
No.
I did try adding it, and it did not work. Frankly, I do not
see why it would.
>Without that, you override the default behavior of Click with your custom
>method.
The problem is that I *double-click* and the *click* method
executes. I do not want the click code to execute; that is why I
double-clicked!
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Gene, capture click and dblclick in the KeyPress event. Disable the clicks
events. In the KeyPress call methods that execute whatever u want accordingly.
HTH, E.
>________________________________
> From: Gene Wirchenko <genew@telus.net>
>To: ProFox Email List <profox@leafe.com>
>Sent: Thursday, September 26, 2013 2:05 PM
>Subject: Re: Double-Clicking and _dblclick
>
>
>At 11:59 2013-09-25, Ted Roche <tedroche@gmail.com> wrote:
>>On Wed, Sep 25, 2013 at 2:33 PM, Gene Wirchenko <genew@telus.net> wrote:
>>
>> > I have never been able to get double-clicking to work when there is
>> > also a click method. What happens is that the click method always fires.
>> >
>>
>>Is there a DODEFAULT at the end of the Click method?
>
> No.
>
> I did try adding it, and it did not work. Frankly, I do not
>see why it would.
>
>>Without that, you override the default behavior of Click with your custom
>>method.
>
> The problem is that I *double-click* and the *click* method
>executes. I do not want the click code to execute; that is why I
>double-clicked!
>
>Sincerely,
>
>Gene Wirchenko
>
>
>_______________________________________________
>Post Messages to: ProFox@leafe.com
>Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
>OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
>Searchable Archive: http://leafe.com/archives/search/profox
>This message: http://leafe.com/archives/byMID/profox/
>** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
>
>
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/1380227745.35593.YahooMailNeo@web120504.mail.ne1.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
At 13:35 2013-09-26, Eurico Chagas Filho <e28chagas@yahoo.com.br> wrote:
>Gene, capture click and dblclick in the KeyPress event. Disable the clicks
>events. In the KeyPress call methods that execute whatever u want accordingly.
In KeyPress? What does that have to do with clicks?
And how do I capture click and doubleclick anyway?
[snip]
Sincerely,
Gene Wirchekno
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
You use INKEY(0,"M") to check for a mouse click. If it happens
twice in .2 seconds it´s a double click otherwise a single one.
>________________________________
> From: Gene Wirchenko <genew@telus.net>
>To: ProFox Email List <profox@leafe.com>
>Sent: Friday, September 27, 2013 1:55 PM
>Subject: Re: Double-Clicking and _dblclick
>
>
>At 13:35 2013-09-26, Eurico Chagas Filho <e28chagas@yahoo.com.br> wrote:
>>Gene, capture click and dblclick in the KeyPress event. Disable the clicks
>>events. In the KeyPress call methods that execute whatever u want accordingly.
>
> In KeyPress? What does that have to do with clicks?
>
> And how do I capture click and doubleclick anyway?
>
>[snip]
>
>Sincerely,
>
>Gene Wirchekno
>
>
>_______________________________________________
>Post Messages to: ProFox@leafe.com
>Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
>OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
>Searchable Archive: http://leafe.com/archives/search/profox
>This message: http://leafe.com/archives/byMID/profox/
>** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
>
>
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/1380305188.64682.YahooMailNeo@web120503.mail.ne1.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.