Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement