Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

length of selected text

Status
Not open for further replies.

mexicali2

Programmer
Jun 1, 2007
14
MX
hi there... i have an editbox i select a word with the mouse... i have disabled the main vfp menu... i want to copy and paste the selected text to a table... all i have to know its how do i know the number of characters the user select... i know the selstart and sellenght properties.. how i do this????

tnx in advance
 
Better still, use SelText to get the actual characters that have been selected. If you just want to place those characters in a table, you don't need the start point or length of the selection.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
i didnt think was so easy jaja .... tnx to all.. very usefull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top