T 
		
								
				
				
			
		ThomasAJ
I have some code that will insert a string into where the caret is positioned
in a text box. So if a shortcut is entered like say Alt+1 a string is
inserted. This works fine when I hard code the text box name.
However I want to make it generic so the code can be used across the project
for all text controls.
So I need to know the name of the Text box that a caret is in so I can pass
it to the generic procedure. I also need to make sure the focus is on the
same control as the caret is in.
				
			in a text box. So if a shortcut is entered like say Alt+1 a string is
inserted. This works fine when I hard code the text box name.
However I want to make it generic so the code can be used across the project
for all text controls.
So I need to know the name of the Text box that a caret is in so I can pass
it to the generic procedure. I also need to make sure the focus is on the
same control as the caret is in.
