Document from right to left

General TRichView support forum. Please post your questions here
Post Reply
miwan29
Posts: 7
Joined: Mon May 20, 2024 10:27 am

Document from right to left

Post by miwan29 »

Hi Sergey

How to make the RichView from right to left with its backgroundBitmap
I can't send images from my PC
Sergey Tkachenko
Site Admin
Posts: 17521
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Document from right to left

Post 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.
miwan29
Posts: 7
Joined: Mon May 20, 2024 10:27 am

Re: Document from right to left

Post 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 14698 times
I want like that
Attachments
RL.png
RL.png (30.86 KiB) Viewed 14698 times
Sergey Tkachenko
Site Admin
Posts: 17521
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Document from right to left

Post 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.
miwan29
Posts: 7
Joined: Mon May 20, 2024 10:27 am

Re: Document from right to left

Post by miwan29 »

Thanks a lot sergey :D

I'm going to try
miwan29
Posts: 7
Joined: Mon May 20, 2024 10:27 am

Re: Document from right to left

Post by miwan29 »

good result :shock: :D
Attachments
rvfbm.png
rvfbm.png (202.13 KiB) Viewed 14428 times
Post Reply