Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with SelStart In A TextBox
Message
De
27/06/2003 10:36:34
 
 
À
17/06/2003 11:52:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00800835
Message ID:
00804680
Vues:
27
This message has been marked as the solution to the initial question of the thread.
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
Fil
Voir

Click here to load this message in the networking platform