Normal Topic Get the selected text (Read 348 times)
Vampie
Member
*
Offline



Posts: 1
Joined: Oct 17th, 2011
Get the selected text
Oct 17th, 2011 at 8:37pm
Print Post Print Post  
Hi,

I have a Text Editor on a form.
I'm gonna paste stuff in that field.

Then I want to divide the text to different fields, by selecting text and then pressing a button corresponding with a field where the selected text need to get put into.

How can I get the selected text from a field?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Get the selected text
Reply #1 - Oct 17th, 2011 at 9:15pm
Print Post Print Post  
Check out the @GetSelectionContents() and SetCopyBuffer SBasic commands.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged