Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent text selection
Message
 
To
14/08/2004 10:21:26
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00933338
Message ID:
00933593
Views:
14
>Hi all
>
>I have a textbox with a numeric single digit. I want to click on the textbox to advance the value. When I click with a long delay between clicks the number advances. When I click with a short delay between clicks it highlights the value. I don't want it to highlight the text.
>
>I thought this was a double click. So I NODEFAULTed the doubleclick. Nope. That wasn't it.
>
>I thought maybe it was selecting the text. So I added access and assign methods to the selstart, sellength and seltext properties. I SET STEP ON, but they never fired.
>
>Anyone got any suggestions?
>
>Thanks

Try NODEFAULT in the textbox MOUSEDOWN event.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform