Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select text on textbox entry
Message
From
24/09/1998 03:37:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00140248
Message ID:
00140249
Views:
30
>When the user selects a textbox, is there some way the text in it can be selected - not the entire textbox contents - only the TEXT in the control. If the user chooses to copy the selected text we don't want the blank spaces of the control to be copied.
>
>I know this is a small problem, but if someone has done it, I'd be happy to know how it was done.
>
>
>Klas Nygren
Klas,
Sending w/o testing ! Test it first :
*Gotfocus
this.selstart = 0
this.sellength = alltrim(this.text)
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
Next
Reply
Map
View

Click here to load this message in the networking platform