Dam
Dam copied to clipboard
Delphi FMX version
Do you have a FMX version of DAM?
Hello @PolywickStudio,
We don't have an FMX version yet, but we are planning to implement support for it.
Tasks
- [x] FMX BorderStyle x ClientRect size
- [x] Delphi XE3 FMX Panel border
- [x] Manual Scaling on Dialog construction
- [x] Lazarus dpi changed detection
- [x] VCL - Preview inside MsgEdit - wrong background color
- [x] Buttons remains blank when dpi changed
- [x] Icon remains same size when dpi changed
- [x] Moving around monitors - recalc DPI
- [x] Delphi 11 - DPI Changed - original PixelPerInch not stored
- [x] FMX - System dialog icons
- [x] FMX - Custom icons (PNG Bitmap)
- [x] Supporting no icon in dialog
- [x] Packages review (+64)
- [x] TabStops in FMX
- [x] FMX - Preview inside MsgEdit - dialog remains behind editor form
- [x] Scaling designer forms (DamList, ...)
- [x] Validate Dam Generated unit
- [x] Smooth resize PNGs
- [x] Mode Delphi directive for Lazarus units
- [x] Check new Language hex codes
- [x] Lazarus / Linux testing
- [x] Packages review (XML unsupported old Delphi)
- [x] Add Delphi 11... versions supporting
- [x] Change CompInstall.ini
- [x] Test CompInstall
- [x] Delphi versions testing
- [x] Review Components Resources images (transparency) / TDamMsg
- [x] Change Version (6.0)
- [x] Update Readme
- [x] DzHTMLText changes
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
Two issues to check yet:
- FMX - Incorrect border behavior - https://stackoverflow.com/questions/76164235/creating-forms-dynamically-border-behavior
- VCL - a lot of code to supporting DPI changing
- In Design mode, Msg Editor does not scale (DzHTMLText does not scale when design mode)
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:
- FMX - DamMsg.Icon diApp - not supported
- Sounds only supported in MSWINDOWS env
- FMX designed - Msg Edit - images not supported in HTML Text
- FMX - Help in Dialog unsupported
- Lazarus and below D10 - unsupported change dpi in Runtime
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.
Done!