Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select all in Text Box
Message
From
13/04/2000 20:31:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/04/2000 20:18:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00359501
Message ID:
00359586
Views:
7
>>>Trying to figure out how to select the entire text in a text box when the user first clicks into the box. Selectonentry = .t. doesn't work (or only seems to work when tabbing).
>>>
>>>Thanks in advance,
>>>Bob
>>
>>
Bob,
>>Try this.
>>
*Textbox.Gotfocus
>>this.Setfocus()
Don't forget this fires gotfocus twice.
>>Cetin
>
>Or just
>
>DODEFAULT() in the gotfocus.


Erik,
Very nice. But FYI it has a problem that it doesn't work in grid (I was so grid oriented that I said gotfocus would fire twice :).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform