Editable property in table mode

Create a form with an integer field set to display as “check”. Turn its editable property to “off”.

In Record and List View (both locked and unlocked) the user is denied access to the field. However in Table view the “editable” property is ignored, the field is always available.

Is this intended or does it represent a bug? This issue is also discussed in topic 3429.

R2 2.1.2 build 315
Java version 1.4.2_05-b04 WinXP Pro

It is a bug, it will be fixed in Servoy 2.5, in mean time do:
elements..enabled = false; in onLoad or onShow of form to yield same effect

Editted(14 dec.): enabled is a property not a method on a field.

Jan Blok:
It is a bug, it will be fixed in Servoy 2.5, in mean time do:
elements..setEnabled(false); in onLoad or onShow of form to yield same effect

Have created an onShow method for the form:```
elements.haschild.setEnabled(false);


> setEnabled is not a function.

I'm running 2.1.2 build 315, Java 1.4.2_05-b04 WinXP Pro

Hi Morley,

Servoy Developer
Version R2 2.1.2-build 315
Java version 1.4.2-38 (Mac OS X)

Check the forms → elements → haschild functions.

Jan has simply typed the wrong function name.

The onShow method should be :

elements.haschild.enabled = false;

Harry