I want to write in Hebrew and in Thai in textbox. But I can't to set RightToLeft property to True, because I have Engish version of Windows. How can I do it anyway?
Printable View
I want to write in Hebrew and in Thai in textbox. But I can't to set RightToLeft property to True, because I have Engish version of Windows. How can I do it anyway?
Not being Hebrew or Thai myself I don't know exactly what you are after - but this may help - put this in the textbox change event..
Sub Text1_Change()
Text1.SelStart = 0
End Sub
..?
may be tou can try to change the Alignment properties to Right Justified. Hope it can help you.
Thanks, but if the user enter a long ling, that will break on the next line?
Quote:
Not being Hebrew or Thai myself I don't know exactly what you are after - but this may help - put this in the textbox change event..
Sub Text1_Change()
Text1.SelStart = 0
End Sub
..?
Aah - you didn't say a 'multiline' text box.. anyway, try this slight amendment;
Dim LastPos as Long
Sub TextBox1.KeyPress(KeyASCII as Integer)
LastPos=TextBox1.SelStart
End Sub
Sub TextBox1.Change
TextBox1.SelStart=LastPos
End Sub
I think that improves matters.