Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emulate Bidirectional TextBox

Status
Not open for further replies.

ShootingStar

Programmer
Oct 26, 2000
1
TH
I want to simulate text box of bidirectional version of Windows in the English version. Now I have worked upto the point that the text in the textbox grows from right to left while keeping the caret with the left end. My solution works pretty fine, but for only one line. When I press Enter at any point in my textbox it homes right on the next line and the work starts again correctly. Now the only problem I have is "wordwrap". When a line comes to end and i don't "Enter", characters wrap from right of the line while i need them to wrap from left, where my caret remains. If you have worked with RTF there are flags for RTL paragraphs, RTF is crippled for me. I have never used it. You can try it too and send me the soloution if possible. Please help anyhow, or tell me where am I going to find the solution. I believe there is a way because i have seen an app doing so.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top