Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with SelStart In A TextBox
Message
From
27/06/2003 10:36:34
 
 
To
17/06/2003 11:52:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00800835
Message ID:
00804680
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform