Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I select a text?
Message
From
31/01/1997 07:01:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do I select a text?
Miscellaneous
Thread ID:
00018921
Message ID:
00018921
Views:
76
Dear Visual FoxPro users

I want the text in a textbox to be selected when the textbox get the focus, but how do I do it?
I have tried:

thisform.txtPersonNr.selstart = 0
thisform.txtPersonNr.sellength = 10

in the GotFocus event, but it didn't worked.
Best regards
Niklas Fjellman

E-mail: niklas.fjellman@adb-kontoret.goteborg.se
Next
Reply
Map
View

Click here to load this message in the networking platform