digao-dalpiaz / Dam

Delphi and Lazarus Message Dialogs with Formatted Text
MIT License
136 stars 39 forks source link

Delphi FMX version #34

Closed PolywickStudio closed 7 months ago

PolywickStudio commented 2 years ago

Do you have a FMX version of DAM?

digao-dalpiaz commented 2 years ago

Hello @PolywickStudio,

We don't have an FMX version yet, but we are planning to implement support for it.

digao-dalpiaz commented 1 year ago

Tasks

digao-dalpiaz commented 1 year ago

Hello @PolywickStudio ,

I'm in the final stages of implementing FMX support.

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

Also, you are gonna need to update DzHTMLText, using this branch: https://github.com/digao-dalpiaz/DzHTMLText/tree/refact-scaling-unit

digao-dalpiaz commented 8 months ago

Two issues to check yet:

These two problems I think I wiil go to solve using designed forms (VCL and FMX separated).

One more thing: Must have a property to deal with mobile dialogs (about dialog size, because in mobile, the dialog should be 100% of width/height?)


Limitations:

In Delphi versions below version XE8, the method of getting the size of the current Monitor does not take into account the current Form, and this can be a problem for calculating the center and size of the screen when displaying and adjusting the DPI of the message.

digao-dalpiaz commented 7 months ago

Done!