Page 1 of 1

Document from right to left

Posted: Mon May 27, 2024 3:42 pm
by miwan29
Hi Sergey

How to make the RichView from right to left with its backgroundBitmap
I can't send images from my PC

Re: Document from right to left

Posted: Mon May 27, 2024 7:13 pm
by Sergey Tkachenko
Sorry, I do not understand the question.
How right to left direction is related to a background bitmap?

To set the default text direction from right to left, assign BiDiMode property = rvbdRightToLeft.

Re: Document from right to left

Posted: Mon May 27, 2024 9:22 pm
by miwan29
I want the RichviewEdit bitmap to be from right to left, not the text or paragraph
in richviewedit bitmap is like this
LR.png
LR.png (28.32 KiB) Viewed 15391 times
I want like that

Re: Document from right to left

Posted: Thu May 30, 2024 11:15 am
by Sergey Tkachenko
Well, this problem can be separated into 2 tasks:
1. to flip image horizontally
2. to display tiled images starting from the right side, instead of the left side.

As for flipping, I do not think that it should be done at the level of our components, you can flip it yourself (in code, or using a graphic editor).
As for tiled images starting from the right side when TRichView.BiDiMode = rvbdRightToLeft, I'll try to implement it in the next update.

Re: Document from right to left

Posted: Thu May 30, 2024 4:29 pm
by miwan29
Thanks a lot sergey :D

I'm going to try

Re: Document from right to left

Posted: Fri May 31, 2024 5:02 pm
by miwan29
good result :shock: :D