Page 1 of 1

Displayonly field can be edited?

Posted: Fri Apr 14, 2017 12:53 pm
by MegumiSawada
Hi,

When field in the UDC on the webpage is set to Displayonly(True), it can be edited after it is selected.
IMG_0307.PNG
IMG_0307.PNG (23.2 KiB) Viewed 8533 times
IMG_0308.PNG
IMG_0308.PNG (25.39 KiB) Viewed 8533 times
e.g.
Define_Com Class(#STD_TEXT.Visual) Name(#STD_TEXT) Displayposition(2) Height(40) Parent(#Panel6) Tabposition(2) Top(41) Width(83) Marginleft(0) Displayalignment(Center) Displayonly(True)

Is it an expected behavior?

Best Regards,
megumi sawada

Re: Displayonly field can be edited?

Posted: Tue Apr 18, 2017 11:24 am
by atostaine
There is a readonly property too. I think Stewart posted explanation of these properties before.

Re: Displayonly field can be edited?

Posted: Tue Apr 18, 2017 12:53 pm
by Stewart Marshall
Hi Megumi

The intent of the DisplayOnly property is to show a non editable version of the field without the need to set the ReadOnly property to true and without the need to move the value in to a label.

It seems however that there is a bug when it's used on a touch screen. Please report this to your local helpdesk.

In the meantime, please set the ReadOnly property to True as well. This will ensure correct behaviour on touch devices

Regards

Re: Displayonly field can be edited?

Posted: Wed Apr 19, 2017 10:29 am
by MegumiSawada
Thank you!
I'll report this via support.

Best Regards,
Megumi Sawada