Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent text selection
Message
De
15/08/2004 11:30:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
14/08/2004 16:58:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00933338
Message ID:
00933417
Vues:
16
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
Fil
Voir

Click here to load this message in the networking platform