Page 1 of 1
form is not reversed from right to left
Posted: Mon May 17, 2021 5:23 pm
by Moustafa.Ismail
Hello
Issue 21.1
Why when choosing languages like Arabic the form is not reversed from right to left, as in previous releases until 20.2
Starting at 20.3 the form is not completely reversed
Thank you so much
Re: form is not reversed from right to left
Posted: Tue May 18, 2021 4:58 pm
by jordansparks
Uh oh. I don't think I considered that. I'll try to duplicate it. If I can't, I might ask for a screenshot.
Re: form is not reversed from right to left
Posted: Tue May 18, 2021 6:06 pm
by Moustafa.Ismail
This causes a lot of chaos inside the form
Thank you jordansparks
Re: form is not reversed from right to left
Posted: Tue May 18, 2021 6:10 pm
by Moustafa.Ismail
Re: form is not reversed from right to left
Posted: Wed May 19, 2021 6:41 am
by jordansparks
It looks like the solution is going to be to force everything to layout left to right. Fixing the right to left layout looks far more complex. I'll know more later today.
Re: form is not reversed from right to left
Posted: Wed May 19, 2021 3:15 pm
by jordansparks
Fix is posted, but not quite released. As I suspected, the fix was to layout from left to right. So it all looks good now. But it can't lay out from right to left like it did in older versions.
Re: form is not reversed from right to left
Posted: Wed May 19, 2021 3:44 pm
by Moustafa.Ismail
This is bad news that the program does not support the right-to-left direction
right Now
Do I, if I go back to the old paint and delete the new one?
Is there a conflict with the work of the program?
Or is the new paint just an appearance of the program?
Re: form is not reversed from right to left
Posted: Wed May 19, 2021 8:01 pm
by jordansparks
You can go back to an old version if you use an old database.
I didn't realize it was that big of a deal. So you've really been using it as a complete mirror image of how it shows in our manual? But it doesn't look like you've translated anything, so why would that be useful? Is it mostly that you like the textboxes to start at the right when you type? We could probably easily change the textboxes back without the full mirror image of everything else.
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 4:09 am
by Moustafa.Ismail
I want to use the latest version to benefit from what has been updated with the latest database, and I can also translate the entire program in Arabic
And also, I've already flipped the pattern from right to left. This I've already done
But I retreated a little to ask you first whether it would affect something else in the program, especially the home page where most modules are displayed, and this question only. Instead of reading the code completely, I asked your question in order to shorten the way for myself
Now if it does not affect the operation of any module on the main page, I will reverse the program in all from right to left
//I also have a question
When is the release date for version 21.1 stable?
Thank you jordansparks for your patience
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 5:13 am
by Moustafa.Ismail

This is version 21.1 with the most recent upgrade I made after I forced all the layouts to run from left to right
With translation, all objects function well within a model like this
I ask you about the rest of the models when presented on the main page
Will there be a conflict, or will it continue?
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 7:01 am
by jordansparks
Nice job! How did you mirror things? From the screenshot, it sort of looks like you edited the code to turn off our LayoutManager for that one form. That would be a lot of work to do it for all forms, especially since you would have to reapply the changes with each version. Without knowing exactly what you changed, it's really impossible for me to advise. I would be happy to point you in the right direction.
If I was going to do it, I would make a hard coded list in a new class of forms that should not mirror, like FormOpenDental. Then, in the LayoutManager, I would mirror all the other forms using a little bit of math. Next, I would figure out how to mirror the anchors and docking. Finally, I would look at all methods in LayoutManager that changed controls on the fly, and I would add some math to those methods as well. I guess it really wouldn't be too hard. I'm very curious how this compares to your approach.
You might also notice that we have new comboboxes, listboxes, and groupboxes. Those won't mirror unless we add code to them. Grids have never mirrored, but that doesn't seem to bother you.
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 7:42 am
by Moustafa.Ismail
No, absolutely not. I will reflect all the objects within the format, including data display networks, and send them to you soon for review and incorporation into the following versions. It is possible to upload a comprehensive Arabic language file to the program
This will add a great launch to the program in our Arab region
This is our job, we are a software company and we have a history in software, especially the dot net
And we have programs in the market for managing labs, managing pharmacies, running restaurants, and managing clothes and grocery stores
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 7:52 am
by jordansparks
Interesting. Yes, we can place an Arabic file on our server for anyone to import. You could also supply the file to your customers.
Re: form is not reversed from right to left
Posted: Thu May 20, 2021 7:55 am
by Moustafa.Ismail
Well, I will translate an Arabic file in our general language to suit all Arab countries and send it to you to upload it to the server
Re: form is not reversed from right to left
Posted: Fri May 21, 2021 8:23 am
by jordansparks
You might not want to do too much work on the mirroring until I've had a chance to see what your strategy is. If you send us a whole bunch of changes, it's unlikely that we'll be able to incorporate them. In other words, I don't want you to do a lot of work all for nothing. It would be better if you show me how you did that one form and then we start talking about whether that strategy can be scaled for everything. There are just so many different ways to do the same thing.