Displayonly field can be edited?

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
MegumiSawada
Posts: 80
Joined: Tue Mar 22, 2016 1:45 pm
Location: Tokyo, Japan

Displayonly field can be edited?

Post 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 8532 times
IMG_0308.PNG
IMG_0308.PNG (25.39 KiB) Viewed 8532 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
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Displayonly field can be edited?

Post by atostaine »

There is a readonly property too. I think Stewart posted explanation of these properties before.
Art Tostaine
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Displayonly field can be edited?

Post 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
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
MegumiSawada
Posts: 80
Joined: Tue Mar 22, 2016 1:45 pm
Location: Tokyo, Japan

Re: Displayonly field can be edited?

Post by MegumiSawada »

Thank you!
I'll report this via support.

Best Regards,
Megumi Sawada
Post Reply