elements.xxx.enabled problem!

Hi,

In code I am setting the property enabled to true for an combobox.
But it doesn’t let me, after setting the property to true it stays false?

I checked all security settings etc… and it is viewable / accessible / editable everywhere.

What could i be doing wrong/overlooking?

Also security settings for the usergroup, it is accessible

Code has worked before, so it al seems strange.
Serovy version: Version: 5.2.2 - build 1002.
Developing for webclient.

what is the readonly property at that time?

The readonly property is true.

that is then the problem why enabled cant go to true.

for the webclient readonly = true means enable = false at the moment

Ok, then i changed the code to ‘.readOnly = false’. But the same problem keeps existing.
After setting the property, it keeps the value ‘true’.

you have to set both

readonly=false
emabled=true

My code is now like:

elements.customerCombo.readOnly = false;
elements.customerCombo.enabled = true;

but readOnly stays true en enabled stays false.
Also checked the controller.readOnly, but that one = false.

I am probably jsut missing something, but can’t find what it could be.

I found wat the problem was, in the security settings, the top item ‘detailWebuser_databaseserver’ is the form itself.
That item was marked as not accessible, so the whole form wasn’t.

Probably unchecked by accident.

Thanks for the help.