Page 1 of 1

DateTimeField Calendar Functionality

Posted: Fri Jun 07, 2019 11:36 pm
by Mkolbe
I have a DateTimeField in my Dialog (#PRIM_DLG).

When the user selects a date for the month shown in upper left (e.g. July), the date value changes and the calendar is automatically closed. However, if the user chooses a date in the prior or subsequent month (June or August: those shown in yellow in my example), the date value changes, but the calendar remains open. Is this just inherent in the way it works, or is there something I can do to get the calendar to close regardless of which date the user selects?

Define_Com Class(#FS14_StartDate.DateTimeField) Name(#FS14_StartDate) Displayposition(8) Parent(#Details) Tabposition(8) Left(16) Top(396) Width(566) Height(58)


Re: DateTimeField Calendar Functionality

Posted: Tue Jun 11, 2019 12:42 am
by jyoung
I am getting the same behavior.

Although I have noticed when you select a date in the previous or next month, the whole month display changes and the day selected has primary style whereas the cell that you clicked has a secondary theme.

Here it's defaulted to today (June 10th).
Capture1.PNG (10.03 KiB) Viewed 408 times
Then select May 26th and the Month changes, the popup stays open, the 26th has the primary style and now April 28th has a secondary style. This is the same cell that was just clicked.
Capture2.PNG (11.76 KiB) Viewed 408 times

I would expect that the popup be closed when a date was selected, regardless of whether is the current, previous or next month.
I would send this to support and see what they say.


Re: DateTimeField Calendar Functionality

Posted: Thu Jun 13, 2019 12:27 am
by Mkolbe
Thanks for confirming. I just submitted an incident on the Support Portal. We'll see what they say.

Re: DateTimeField Calendar Functionality

Posted: Wed Jun 19, 2019 6:20 am
by Mkolbe
LANSA support confirmed that the DateTimeField calendar functioned for them as it did for me.
They said that this design was intentional (maybe to act as a means to jump forward/backward one month at a time), however, after thinking about it some more they thought it made more sense to close the date window regardless whether you choose a date in the prior, current, or future month. They said this will be addressed in a future release.