Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only