Problem with TTMSFNCCalendar

Hi,

I'm having some issues with the TTMSFNCCalendar component in Delphi 12.3, both on iOS and Android, and I wanted to share them here in case someone else has experienced the same, or if the TMS team could take a look. I've attached a small sample project to reproduce the issues.

  1. SVG with gfkTexture
    When I set DateAppearance.SelectedFill.Kind to gfkTexture and assign an SVG file to Texture, the app fails to launch on the device. If I use a PNG instead, it works fine.
  2. TextureMode = gtmFit not working properly
    When using a PNG and setting TextureMode to gtmFit, the image doesn't scale or align properly — it looks distorted or out of place, as if the setting is ignored.
  3. Month and Year selection events triggered on popup open
    When I enable Interaction.AllowMonthSelection and AllowYearSelection, the events OnMonthPopupValueSelected and OnYearPopupValueSelected are triggered both when the popup opens and when a value is actually selected. I believe they should only trigger after the user selects a month or year.

Could you please check these issues? Thanks in advance!

Best regards,
Example.zip (22.3 KB)

Thanks for your feedback.

  1. and 2) SVGs are intended to be used as icons for controls that expose that functionality such as TTMSFNCToolBarButton for example. We'll investigate what is going wrong when using this as a texture.
  2. This issue is fixed.

Thanks for the clarification and the fix!

Just one more thing — regarding point 3:

When AllowMonthSelection or AllowYearSelection is enabled, the events OnMonthPopupValueSelected and OnYearPopupValueSelected are triggered both when the popup opens and when a value is selected.
I believe these events should only fire after a selection is made, not just when the popup appears.

Could you please confirm if this is the expected behavior, or if it's something that could be adjusted?

Thanks again!

Hi,

The markdown of the support forum messed up the numbering, but it's the 3rd point that is fixed. 1 and 2 are to be investigated.

Ok, Thank you