What I want to do is press a button and have it put a fixed_text like ( " [^.^] " at the cursor location in a text area box.
I can easily place it before the text in the area textbox or after it. ( TextAreaBox.Text = fixed_text + TextAreaBox.Text or TextAreaBox.Text = TextAreaBox.Text + fixed_text ) but I don’t know how to put it at the cursor location.
The best I can do is a two step procedure. Step 1 is to put the (fixed_text) on the clipboard and then step two is to manually paste it at the cursor location. (cntrl +V)
I want to do it all in one step.
Any ideas on how I can do it?
I’m running XOJO 2017r1.1
Thanks for any help or comments you can give me.
Dave