Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Gary,
>I am using a specialised textbox subclass for numeric data entry. I am having a problem that seems to be caused by odd SelStart behaviour. If I try to type, say, 1.5, on the basis of the length of the textbox/inputmask, when I type the digit '1', SelStart is set to 14. When I type the DP '.', SelStart is immediately set to 0 (zero). The code in the keypress method of the subclass is getting very confused with this behaviour. This only happens when SelectOnEntry is set True.
I don't know whether this is relevant, but I have this problem with the Kilofox numeric textbox when Christof Lange's ISX program is running. When I turn off ISX, it goes away.
pamela
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