Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent text selection
Message
From
15/08/2004 11:30:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
14/08/2004 16:58:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00933338
Message ID:
00933417
Views:
17
Hi Al



>>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?
>
>How about a spinner?

Actually, the spinner has drawbacks, such as the buttons are too small. I'd have to do one spinner per digit, which will take up more UI real-estate.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform