how do i make TRichedit take keystroke from right-to-left

Posted by neurolancer on June 05, 2001

hi

can anyone suggest me how to make a Delphi rich edit component display text from right to left. I need this to enable arabic and other right-to-left languages in my app.

tnx.

Re: webmaster Guido on June 16, 2001

Change the BiDiMode.

The Delphi help says:


property BiDiMode: TBiDiMode;
Description:
Use BiDiMode to specify the bi-directional mode for the control. The bi-directional mode controls the reading order for the text, the placement of the vertical scrollbar, and whether the alignment is changed.