Inserting a Character into a textbox

jazzscreamer

New member
Joined
Mar 19, 2005
Messages
4
Programming Experience
1-3
Here is my problem,
I have a text box named txtPron on my form frmDbEdit. I have a second form that has a bunch of buttons on it called frmSymbols. I want each button to insert a symbol into txtPron.

I know how to make the symbols go at the end and the beginning of txtPron, but I can't insert them into the middle of txtPron. Essentially I am trying to mimic the functionality of the insert box in MS Word.

If anyone could help or at least point me in a general direction it would be much appreciated.

Thanks
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
when you instert the symbol use Textbox1.SelectedText = strSymbol

Textbox1 being the textbox to insert the symbol and strsymbol being the actual symbol being inserted into that textbox
 
Top Bottom