digao-dalpiaz / DzHTMLText

Delphi and Lazarus HTML Label component
MIT License
190 stars 52 forks source link

Is there a plan to port this wonderful control to Firemonkey? #34

Closed GaNacereddine closed 3 years ago

GaNacereddine commented 3 years ago

can this control be ported to firemonkey?

digao-dalpiaz commented 3 years ago

Hello @GaNacereddine

Yes, there is! I'm preparing to do this, but takes a lot of time because there are many changes in FMX scenario.

Thanks and let's keep on touch.

GaNacereddine commented 3 years ago

thank you very much. will be looking forward to that :).

HemulGM commented 3 years ago

Connect to waiting)

digao-dalpiaz commented 3 years ago

Guys, great news: I'm almost done with FMX support.

fmx_example

GaNacereddine commented 3 years ago

What a great news to hear, I will be waiting to test. Thank you very much for your valuable time and experience.

digao-dalpiaz commented 3 years ago

Problems to solve:

Changed behaviors (to write in README):

To do list:

Testing:

digao-dalpiaz commented 3 years ago

There is a release candidate version available in this branch: https://github.com/digao-dalpiaz/DzHTMLText/tree/fmx-support

Please let me know if you are testing on a version of Delphi that I have not yet tested according to the previous list.

GaNacereddine commented 3 years ago

Unfortunately, I only own 10.3 and 10.4. the ones you already tested. I used to have 10.2 but I lost the license.

digao-dalpiaz commented 3 years ago

Unfortunately, I only own 10.3 and 10.4. the ones you already tested. I used to have 10.2 but I lost the license.

Even so, if you can, do tests on the versions you have to see if the features are as expected.

GaNacereddine commented 3 years ago

Okay will definitely do that I have a small project where I could test this control in the real world.

digao-dalpiaz commented 3 years ago

I finished a last commit just now. I believe everything is already ok, just missing to make it work in XE2.

The project list has been updated in the comment above.

digao-dalpiaz commented 3 years ago

Hello @GaNacereddine and @HemulGM,

Could you run tests on new version, please? Download link: https://github.com/digao-dalpiaz/DzHTMLText/tree/fmx-support

Readme info already updated and Component Installer for Auto Installation already updated too.

Thanks a lot.

HemulGM commented 3 years ago

Sure. I'll be glad to help)

HemulGM commented 3 years ago

FMX Windows - isOk FMX Android - is not working (There is no formatting. Just text. I'll try to figure out when the time will be)

GaNacereddine commented 3 years ago

Sure I'm setting up 10.4.1 on my dev pc, I will update you once the setup is done (damn patches :) )

digao-dalpiaz commented 3 years ago

FMX Windows - isOk FMX Android - is not working (There is no formatting. Just text. I'll try to figure out when the time will be)

I discovered the problem on Android. I'm going to upload adjustments right now.

HemulGM commented 3 years ago

FMX Android - isOk, but I found a bug on android. Its nature is clear - there is no MouseMove event.

Click on the spoiler and then just click anywhere. A spoiler click will be triggered.

HemulGM commented 3 years ago

Create new issues or can I write them here?

digao-dalpiaz commented 3 years ago

Create new issues or can I write them here?

You can create a new issue. Then I'll tag it with FMX support reference. Thanks

digao-dalpiaz commented 3 years ago

Tests ok also on: