Hi again, everyone out there!
I'm facing this issue: My app creates forms (datawindows) dynamically for entering data. The date fields of the forms are assigned "yes" to the “ddcalendar” property. But, at runtime, the calendar does not display.
To check if I am the culprit, I copy the dynamically generated syntax and paste it in the "Edit Source" of the DW. In the painter It works fine: the calendar does drop down.
Is there a way to work this issue around?
I'm working with PB 2022 R3 Build 3289.
Thanks in advance for any help provided.
I did as you indicated and found these 6 additional ddcalendar properties that I did not include when constructing the dynamic syntax:
editmask.ddcalendar=yes
editmask.ddcal_textcolor=0
editmask.ddcal_backcolor=0
editmask.ddcal_titletextcolor=0
editmask.ddcal_titlebackcolor=0
editmask.ddcal_trailingtextcolor=0
So I included them but, sadly, it didn’t work.
What I finally did was not to use the dynamic DW in my app but, rather, the static one of point 2 in your answer (this is, the one imported into my production libraries from the dynamic syntax with the additional properties mentioned above). Well, when I run the DW in the painter it works fine but not so at runtime (being exactly the same datawindow).
So my guess is this has something to do with runtime components (whichever). Maybe a PB bug to be fixed. What do you think?
Andreas.