1. Michael Hartnett
  2. PowerBuilder
  3. Wednesday, 6 June 2018 14:38 PM UTC

Hi,

We have deployed an Appeon Mobile app that is currently in use in the UK, Ireland and Australia.  We have some users starting to use it in Japan and they would like the date selection on an editmask to display in the Japanese Format (yyyy-mm-dd).

I have tried to change the Mask of the editmask in code but I receive the following message and cannot save the script. "a readonly property can be modified only in an event or function in its parent class"

Is there a way to change the editmask Mask at runtime?

Thanks,

Michael

mike S Accepted Answer Pending Moderation
  1. Wednesday, 6 June 2018 15:22 PM UTC
  2. PowerBuilder
  3. # 1

instead of changing it at runtime, why don't you use:  [date]  for the editmask

this will use the user's settings as specified in the operating system. 

Comment
  1. mike S
  2. Wednesday, 6 June 2018 15:25 PM UTC
** i am assuming that [date] is valid in mobile

  1. Helpful
  1. Michael Hartnett
  2. Wednesday, 6 June 2018 15:46 PM UTC
Hi Mike,



The display seems to be OK, but the popup calendar does not work properly using [date]!



See screenshot.



https://goo.gl/kZhdjq



Michael

  1. Helpful
  1. mike S
  2. Wednesday, 6 June 2018 19:00 PM UTC
log the popup display issue as a bug - IMO it should use the same format as the editmask.   

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.