Force a Start Place in a Textbox

ddrew

seasoned user
Local time
Today, 06:29
Joined
Jan 26, 2003
Messages
911
I have a textbox (Odour), that contains one of four words (Cadaver ( ), Drugs ( ), Explosives ( ) or Money ( ) ), the word is written in by pressing one of four buttons, this works fine.

I now want the user to write in between the the brackets and only the brackets. For example:

The textbox contains Cadaver ( ), I want the user to be able to write between the brackets "Blood".

I seem to recall that there is a way of only allowing the user to type in certain places within a textbox.
 
Why not just put "Cadaver" in a label control next to the text box.
 
Thanks but no, thats not what I need ed, I have found what I was looking for
Code:
Me.Odour.SelStart = 7
 

Users who are viewing this thread

Back
Top Bottom