1. Michael Hartnett
  2. PowerBuilder
  3. Wednesday, 06 June 2018

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
0
Votes
Undo

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
** i am assuming that [date] is valid in mobile

  1. mike S
  2. Wednesday, 6 June 2018
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. Michael Hartnett
  2. Wednesday, 6 June 2018
log the popup display issue as a bug - IMO it should use the same format as the editmask.   

  1. mike S
  2. Wednesday, 6 June 2018
There are no comments made yet.
  1. Wednesday, 6 June 2018
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


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