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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Click Event

Status
Not open for further replies.

bblekfeld

Programmer
Mar 9, 2004
49
US
This is probably pretty simple but how would I code the click event to select all the data in that field and copy it to the clipboard, (I'd like to be able to paste it into another application with the Ctrl V method and I have to do this hundreds of times so it would help if I didn't have to spend several times trying to highlight or unsuccessfully triple click the field)

Any suggestions?

Thanks!
 
You may consider playing with SelStart and SelLength properties.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top