Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select a whole word with mouse click
Message
From
06/07/2008 08:24:05
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01329205
Message ID:
01329212
Views:
15
>thanks Cetin, But i have other problem, how to locate Which i want selct.
>LOCATE FOR word=selection(thisform.edit2.Value)
>In my whole sentence, i want only select and locate "wise" But i will tell locate for, to select only word, where mouse click, or dubclick.

You don't have to do anything special to select the word; just double-click. That's the default behavior. To know what's selected, use the SelStart and SelLength properties:

cSelected = SUBSTR(This.Value, This.SelStart, This.SelLength)

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform