Listview readonly issue

Hi,

We use list view a lot.

The problem is that when the form is in readonly mode, you cannot select text or scroll textareas
with a scrollbar on a form that is in list view.

When the form is in record view, there is no problem.

I remember Johan sayd ( quit a while ago ) that this was a Java (swing) issue and that Servoy has
now way to alter this behaviour.

My questions are :

  1. is this still a Java issue ?

  2. is there a workaround ?

Regards,

Hi Hans,

A workaround could be to leave the forms readonly property set to false and set the editable property of the individual controls to false. I think that does what you want.

Omar

Omar, yes thanks.
I am already testing with this.
In the past I already put this on the forum and Johan answered it.

if you set readonly on the controller then you make the controller readonly (controller being record/table/listview)
problem is that record view readonly is the same thing as making all elements readonly, because thats the only way to do it

list/table are different they have a separate edit flag (the controller itself must first go into edit then a field can go into ‘edit’ (you can access it that it is again in readonly is an other thing))
and if you set a list/table in readonly that first step is just not allowed so you can never access the fields component to select/copy from it.

Johan Compagner
Servoy

Regards,

Ok sorry about that, I am not sure I understand though. Your post was from 5 days ago and was between the unanswered posts. Why isn’t Johans answer in the thread?

Grtz,
Omar

that was another post :

viewtopic.php?f=2&t=12670

Ok, I understand, thanks.