General information
Category:
Coding, syntax & commands
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
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