Sorry for my bad Englisch:
I'm rebuilding an old ERP application, that I wrote some years ago in Visual Basic (MDI style with toolbar).
This time I will create the application with B4J as a MS Windows desktop application.
That application has a lot of windows for example: customers, pricelist, invoices, orders, tasks,...
Each window is a view in B4J.
New layout is left sidebar as menu and at right a place where the different windows appear.
I tested B4XPages and I tested a panel that loads each view. Also I looked at another topic where somebody emulates MDI style.
In B4Xpages each page is an item in the MS Windows taskbar. Also each window has it's own (moveable) position and the menu can disapear behind one of the windows or the menu has to be placed on each window.
In panel method I can create the menu at left and load the views as needed in the panel at right. Also there is just one item in the MS Windows taskbar. Almost perfect!
But..... each view has many controls on in, all associated code is now in the same class. That will be a massive class handling controls for about 10 windows.
What is the best way to work with multiple windows?
Thanks for each advice.
I'm rebuilding an old ERP application, that I wrote some years ago in Visual Basic (MDI style with toolbar).
This time I will create the application with B4J as a MS Windows desktop application.
That application has a lot of windows for example: customers, pricelist, invoices, orders, tasks,...
Each window is a view in B4J.
New layout is left sidebar as menu and at right a place where the different windows appear.
I tested B4XPages and I tested a panel that loads each view. Also I looked at another topic where somebody emulates MDI style.
In B4Xpages each page is an item in the MS Windows taskbar. Also each window has it's own (moveable) position and the menu can disapear behind one of the windows or the menu has to be placed on each window.
In panel method I can create the menu at left and load the views as needed in the panel at right. Also there is just one item in the MS Windows taskbar. Almost perfect!
But..... each view has many controls on in, all associated code is now in the same class. That will be a massive class handling controls for about 10 windows.
What is the best way to work with multiple windows?
Thanks for each advice.