Missing Listbox setter? - Movable Rows Property

Hi

Is there a missing setter for the “Movable Rows” property of a Listbox?

Many thanks.

Best regards

Keith

I really thought that there is a setter for anything, but seems that movable rows for array based list boxes was missed.

I’ll check if we can do something.

If you need it urgently, you maybe can help yourself by using dynamic forms:
http://doc.4d.com/4Dv17/4D/17/Dynamic-Forms.300-3743749.en.html

as
“List Box”: {
“type”: “listbox”,
“top”: 20,
“left”: 9,
“width”: 512,
“height”: 329,
“movableRows”: true,

Creating a complex form dynamically just to add an attribute could be a lot of work, I agree.
But if that form is normally static and you need to enable/disable the attribute depending on some settings, you might use a compromise.
Open a copy of your structure with 4D v17 R3 (currently in beta), export the form by command or export the complete structure text based and save that form in your resource folder (and use that one with 4D v17.x).

Now load it into text var, parse that to object, set movableRows depending of need and then use that form.
$myform.pages[1].objects.mylistbox.movableRows:=false
DIALOG($myform)

As said, just a possible workaround if you need it today.

Thanks Thomas.

I really thought that there is a setter for anything

Yeah, I thought that everything had now been covered.

Looks like I asked for it before:-
http://forums.4d.com/Post/EN/11916120/1/11916121#11916121

And a slight variation for managing when rows are moved:-
http://forums.4d.com/Post/EN/15769223/1/15769224#15769224

Not urgent Thomas, just thought I was missing something.

Dynamic forms are a very neat addition. So many more possibilities now with form export of R3 too.

Best regards

Keith