Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single character not being selected in text box
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00142509
Message ID:
00142514
Views:
31
>Hello,
>
>I have a textbox that has K in the format property. I have noticed that if there is only one character in the textbox it will not be selected when the textbox gets focus. If there is more than one character in the box then the text gets selected.
>
>Any ideas?
>
>Thanks,
>
>Paul

I get this behavior too. You can get around it by removing the k format and putting the following in the textbox.gotfocus:
this.selstart = 0
this.sellength = LEN(ALLTRIM(THIS.value))
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform