Jump to content
Al T

is there a complete guide to converting VCL to FMX?

Recommended Posts

Hi,

 

I've seen probably a program that claims to be able to do this, but I don't believe in automation, because I won't learn anything.  I would rather manually do this by hand.

 

Is there a complete guide on converting VCL to FMX ??

 

I am working on a open source project and I want to be able to convert it to FMX.  (https://github.com/War3Evo/RMSVST3/tree/Delphi-11.0)

 

The main reason is so I can then use Skia4Delphi because of this answer from Skia4Delphi: https://github.com/skia4delphi/skia4delphi/discussions/178

 

Thank you for your help!

Share this post


Link to post

I have done this myself. I don't know of a guide to doing it. I'd just recommend to familiarise yourself with FMX first. You will have to rebuild your forms from scratch. You can then copy and paste most of the code and link the events, but some changes will be needed. The drawing commands are different and you need to get used to wrapping drawing commands with BeginScene and EndScene. Code using strings may need to be modified because of unicode. Finally, some visual components are just different and have differently named properties (the most common is that you will have to change .Caption to .Text). Other than that it's not too bad and you get quicker once you get into it.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×