Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-10

RightToLeft Forms (for Hebrew, Arabic...)

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Avishai

Working with RightToLeft Forms (for Hebrew, Arabic...) under Windows has many problems. I have found a few solutions to some of the problems, but the solutions often create new problems. The biggest problem is that when Themes are active and a TWinControl is mirrored, the TCanvas becomes corrupted and unusable. If you disable Themes, things work much better. I have search through Lazarus code for a very long time and have not been able to find where things go wrong with Themes.

Another major problem is that Lazarus does not conform to Windows RightToLeft design (for Windows. I don't know how other OS's handle RightToLeft). Maybe that is because Delphi developers never understood RightToLeft. BiDiMode has been obsolete since Window XP and should have been abandoned long ago and been replaced with Windows RightToLeftLayout. I am using Windows RightToLeftLayout which leads to some very strange results, but for the most part, it works very well.

If there are any others that have to work with RightToLeft Forms, I would love to work with you to find solutions.

Shalom, Avishai ????? ???? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121024/fc0f7bc2/attachment.html>

Reply by email

Zaher Dirkey
to Avishai

Hi Avishai,

Most BidiMode users that i knew used forums instead of messages list. About me, we have a big problem this days, I left my work and my home, so when i can have a good computer table i will return to work on Lazarus again.

Peace for you all.

Avishai wrote 32 lines
Working with RightToLeft Forms (for Hebrew, Arabic...) under Windows has many problems. I have found a few solutions to some of the problems, but the solutions often create new problems. The biggest problem is that when Themes are active and a TWinControl is mirrored, the TCanvas becomes corrupted and unusable. If you disable Themes, things work much better. I have search through Lazarus code for a very long time and have not been able to find where things go wrong with Themes. Another major problem is that Lazarus does not conform to Windows RightToLeft design (for Windows. I don't know how other OS's handle RightToLeft). Maybe that is because Delphi developers never understood RightToLeft. BiDiMode has been obsolete since Window XP and should have been abandoned long ago and been replaced with Windows RightToLeftLayout. I am using Windows RightToLeftLayout which leads to some very strange results, but for the most part, it works very well. If there are any others that have to work with RightToLeft Forms, I would love to work with you to find solutions. -- Shalom, Avishai ????? ???? -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121026/ecb81309/attachment.html>

Reply by email

Avishai
to Zaher Dirkey

So good to hear from you. I have been worried for your safety. Some day Peace for both of us. Be safe.

Zaher Dirkey wrote 49 lines
Hi Avishai, Most BidiMode users that i knew used forums instead of messages list. About me, we have a big problem this days, I left my work and my home, so when i can have a good computer table i will return to work on Lazarus again. Peace for you all. On Wed, Oct 24, 2012 at 3:25 PM, Avishai wrote: > Working with RightToLeft Forms (for Hebrew, Arabic...) under Windows has > many problems. I have found a few solutions to some of the problems, but > the solutions often create new problems. The biggest problem is that when > Themes are active and a TWinControl is mirrored, the TCanvas becomes > corrupted and unusable. If you disable Themes, things work much better. I > have search through Lazarus code for a very long time and have not been > able to find where things go wrong with Themes. > > Another major problem is that Lazarus does not conform to Windows > RightToLeft design (for Windows. I don't know how other OS's handle > RightToLeft). Maybe that is because Delphi developers never understood > RightToLeft. BiDiMode has been obsolete since Window XP and should have > been abandoned long ago and been replaced with Windows RightToLeftLayout. > I am using Windows RightToLeftLayout which leads to some very strange > results, but for the most part, it works very well. > > If there are any others that have to work with RightToLeft Forms, I would > love to work with you to find solutions. > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > Best Regards Zaher Dirkey -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121026/a63b4143/attachment.html>

Reply by email