I am using B4J v8.50beta as an exercise to learn about b4xpages. To do that I am converting work done in a non-pages app.
After having constructed a page in the Designer and then loading the layout (ie Root.Loadlayout("xxxxx")), the resizing works as desired. Because I do not want too many panes in the Designer page, I have constructed another page in the designer that contains a panel which in turn contains a xCustomListview.
I then do the Root.Loadlayout("yyyy"), which loads the layout fine and all looks good, and it is, until you resize the form. I have found that only the last layout loaded "yyyy" will resize and that the original "xxxx" loaded no longer resizes.
I tried with simple layouts using 3 empty (2 in one layout and 1 in another) panes using the anchors only to find that the above pattern holds true.
Is this meant to be? I am aware that my limited understanding may be the problem.
Any suggestions,
Hilton.
After having constructed a page in the Designer and then loading the layout (ie Root.Loadlayout("xxxxx")), the resizing works as desired. Because I do not want too many panes in the Designer page, I have constructed another page in the designer that contains a panel which in turn contains a xCustomListview.
I then do the Root.Loadlayout("yyyy"), which loads the layout fine and all looks good, and it is, until you resize the form. I have found that only the last layout loaded "yyyy" will resize and that the original "xxxx" loaded no longer resizes.
I tried with simple layouts using 3 empty (2 in one layout and 1 in another) panes using the anchors only to find that the above pattern holds true.
Is this meant to be? I am aware that my limited understanding may be the problem.
Any suggestions,
Hilton.