I wanted a right-to-left edit box for an Arabic application in visual basic and i got it, the code for it is :

first set the alignment of the text box to right

then add the following code to the change() event of the text box

Text1.SelStart=0

but the problem is that it takes the cursor to the start of the textbox, it does not add the character to before the current character position.

what shall i do in this case....