Hi,
I want to change a form (before it is loaded!) that is designed for tableview, and it doesn’t work. Is that a bug or designed to be not working.
I have a form in tableview with Header part and Body part.
The Header part I can change with the solutionmodel, like I wanted to be changed.
But the Body part, doesn’t change.
When I change the defaultmode for that form from Tableview to Recordview, then I see the form like I want it to have.
So my coding seems to be correct.
Is it not possible to change a Tableview form using the solution model?
Martin
To be more specific.
I want to move fields and labels to another x position and make some fields/labels larger.
It looks like that is the problem.
It looks like that I have to remove all fields in the Body part and recreate using the solutionmodel the Body part.
I hope it is not the intention of Servoy that it should work like this.
Just moving the fields/labels in tableview should work like moving fields in recordview
Now I have to write plenty of coding for resizing my form in webclient (because anchors are not working in Webclient, I have to write it myself)
Difficult to say what happens just from description, if you open a case with sample we’ll have a look.
What you have to do, is design a form in tableview. Make form width 200
Put 3 fields on the form
A pos 0 length 20
B pos 20 length 100
C pos 120 length 80
Now on open solution, make form width 300
Use the solutionmodel to move fields to another position (x and width properties)
C pos 220 length 80
B pos 20 length 200
A doesn’t change
You’ll see that the fields are not moved.