SelStart and SelLength won't work for DoubleClick event ? (1 Viewer)

smig

Registered User.
Local time
Today, 13:21
Joined
Nov 25, 2009
Messages
2,209
I'm trying to use SelStart and SelLength to select a part of the text when I double click, but it doesn't seems to work.
it keep doing the default text select.

it works perfect for Click event.
 

John Big Booty

AWF VIP
Local time
Today, 22:21
Joined
Aug 29, 2005
Messages
8,263
You need to put;
Code:
Cancel = True
at the end of your code to stop the default double click action from kicking in once your code finishes.
 

smig

Registered User.
Local time
Today, 13:21
Joined
Nov 25, 2009
Messages
2,209
thanks
that did the trick
 

Users who are viewing this thread

Top Bottom